Merge "Run performInitialGrantsIfNecessaryAsync() on main thread." into qt-dev