Bug 363813. Mark canvas with HAS_DIRTY_CHILDREN when we delete its child. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217305 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -329,6 +329,7 @@ CanvasFrame::RemoveFrame(nsIAtom* aListName,
|
||||
// Remove the frame and destroy it
|
||||
mFrames.DestroyFrame(aOldFrame);
|
||||
|
||||
AddStateBits(NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||
GetPresContext()->PresShell()->
|
||||
FrameNeedsReflow(this, nsIPresShell::eTreeChange);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user