зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1083635. Part 5: ClientLayerManager::BeginTransactionWithTarget should assert if we're not going to take a snapshot. r=mattwoodrow
--HG-- extra : rebase_source : 07cea353735743670cc82031bcbe738932f56829
This commit is contained in:
Родитель
5670ea50e5
Коммит
2cbfe40f8b
|
@ -217,6 +217,9 @@ ClientLayerManager::BeginTransactionWithTarget(gfxContext* aTarget)
|
|||
// to it. This will happen at the end of the transaction.
|
||||
if (aTarget && XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
mShadowTarget = aTarget;
|
||||
} else {
|
||||
NS_ASSERTION(!aTarget,
|
||||
"Content-process ClientLayerManager::BeginTransactionWithTarget not supported");
|
||||
}
|
||||
|
||||
// If this is a new paint, increment the paint sequence number.
|
||||
|
|
Загрузка…
Ссылка в новой задаче