зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1795574 - Fix base-toolchains build.
MANUAL PUSH: Bustage fix CLOSED TREE
This commit is contained in:
Родитель
6c7ed40390
Коммит
b03241e966
|
@ -278,8 +278,11 @@ void WaylandVsyncSource::FrameCallback(uint32_t aTime) {
|
|||
LOG("WaylandVsyncSource::FrameCallback");
|
||||
MOZ_DIAGNOSTIC_ASSERT(NS_IsMainThread());
|
||||
|
||||
// This might enable vsync.
|
||||
RefPtr(mWindow)->NotifyOcclusionState(OcclusionState::VISIBLE);
|
||||
{
|
||||
// This might enable vsync.
|
||||
RefPtr window = mWindow;
|
||||
window->NotifyOcclusionState(OcclusionState::VISIBLE);
|
||||
}
|
||||
|
||||
MutexAutoLock lock(mMutex);
|
||||
mCallbackRequested = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче