Bug 625672. Part 1.5: Make layer managers silently do nothing when ending a transaction with no root layer. r=bas,a=blocker
This commit is contained in:
@@ -1271,9 +1271,7 @@ BasicLayerManager::EndTransactionInternal(DrawThebesLayerCallback aCallback,
|
||||
|
||||
mTransactionIncomplete = false;
|
||||
|
||||
if (mTarget) {
|
||||
NS_ASSERTION(mRoot, "Root not set");
|
||||
|
||||
if (mTarget && mRoot) {
|
||||
nsRefPtr<gfxContext> finalTarget = mTarget;
|
||||
gfxPoint cachedSurfaceOffset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user