diff --git a/mozilla/layout/generic/nsHTMLFrame.cpp b/mozilla/layout/generic/nsHTMLFrame.cpp index 9530294cbda..eac927d13e0 100644 --- a/mozilla/layout/generic/nsHTMLFrame.cpp +++ b/mozilla/layout/generic/nsHTMLFrame.cpp @@ -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 {