зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1370704 - Use retained layer manager in headless. r=jmuizelaar
This commit is contained in:
Родитель
f9257bbf5b
Коммит
79318e1a8c
|
@ -113,7 +113,7 @@ HeadlessWidget::GetLayerManager(PLayerTransactionChild* aShadowManager,
|
||||||
LayerManagerPersistence aPersistence)
|
LayerManagerPersistence aPersistence)
|
||||||
{
|
{
|
||||||
if (!mLayerManager) {
|
if (!mLayerManager) {
|
||||||
mLayerManager = new BasicLayerManager(BasicLayerManager::BLM_OFFSCREEN);
|
mLayerManager = new BasicLayerManager(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return mLayerManager;
|
return mLayerManager;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче