Bug 694964 - Don't generate a Thebes Paint edit in an incomplete transaction. r=bgirard
This commit is contained in:
@@ -2412,7 +2412,7 @@ BasicShadowableThebesLayer::PaintBuffer(gfxContext* aContext,
|
||||
aRegionToDraw, aExtendedRegionToDraw, aRegionToInvalidate,
|
||||
aDidSelfCopy,
|
||||
aCallback, aCallbackData);
|
||||
if (!HasShadow()) {
|
||||
if (!HasShadow() || BasicManager()->IsTransactionIncomplete()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user