зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1421196 - Set default draw target to basic layer manager so that we won't have different backend. r=kats
MozReview-Commit-ID: IWzzPvAcwQ5 --HG-- extra : rebase_source : 28359fdfca721b29a93de5d0cc88d1c5ecc59a06
This commit is contained in:
Родитель
c5a31b73d7
Коммит
24e38c2bb3
|
@ -355,6 +355,7 @@ PaintByLayer(nsDisplayItem* aItem,
|
|||
layerBuilder->Init(aDisplayListBuilder, aManager, nullptr, true);
|
||||
layerBuilder->DidBeginRetainedLayerTransaction(aManager);
|
||||
|
||||
aManager->SetDefaultTarget(aContext);
|
||||
aManager->BeginTransactionWithTarget(aContext);
|
||||
bool isInvalidated = false;
|
||||
|
||||
|
@ -393,6 +394,7 @@ PaintByLayer(nsDisplayItem* aItem,
|
|||
}
|
||||
|
||||
aManager->SetTarget(nullptr);
|
||||
aManager->SetDefaultTarget(nullptr);
|
||||
|
||||
return isInvalidated;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче