mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
c2d5639aae
commit
bd30ce7c71
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user