зеркало из https://github.com/mozilla/gecko-dev.git
Bug 774388 - Bustage fix: don't try to shut down layers IPC if we didn't initialize it because we were running xpcshell only - no review
This commit is contained in:
Родитель
811e7e2c4f
Коммит
c0967f3a38
|
@ -510,6 +510,9 @@ gfxPlatform::Shutdown()
|
||||||
/* static */ void
|
/* static */ void
|
||||||
gfxPlatform::ShutdownLayersIPC()
|
gfxPlatform::ShutdownLayersIPC()
|
||||||
{
|
{
|
||||||
|
if (!gPlatform) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
MOZ_ASSERT(!gPlatform->mAlreadyShutDownLayersIPC);
|
MOZ_ASSERT(!gPlatform->mAlreadyShutDownLayersIPC);
|
||||||
if (UsesOffMainThreadCompositing() &&
|
if (UsesOffMainThreadCompositing() &&
|
||||||
XRE_GetProcessType() == GeckoProcessType_Default)
|
XRE_GetProcessType() == GeckoProcessType_Default)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче