зеркало из https://github.com/mozilla/gecko-dev.git
Bug 782411: Work around having multiple compositors when -jsconsole is used. r=ajuma
This commit is contained in:
Родитель
27eced7e82
Коммит
7838eccce3
|
@ -153,7 +153,9 @@ CompositorParent::CompositorParent(nsIWidget* aWidget,
|
||||||
CompositorLoop()->PostTask(FROM_HERE, NewRunnableFunction(&AddCompositor,
|
CompositorLoop()->PostTask(FROM_HERE, NewRunnableFunction(&AddCompositor,
|
||||||
this, &mCompositorID));
|
this, &mCompositorID));
|
||||||
|
|
||||||
sCurrentCompositor = this;
|
if (!sCurrentCompositor) {
|
||||||
|
sCurrentCompositor = this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PlatformThreadId
|
PlatformThreadId
|
||||||
|
|
Загрузка…
Ссылка в новой задаче