Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
authorRobert O'Callahan <robert@ocallahan.org>
Wed, 29 Aug 2012 17:48:45 +1200
changeset 108566 9366a70acb1d07ca4f8d5a902914089214f9566e
parent 108565 5f4c8635e87e4d9637a299600392311196b0a894
child 108567 ba21437b71135fd28f4dc30b7f185a88c0e8886c
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersmattwoodrow
bugs770058
milestone18.0a1
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
layout/base/nsPresShell.cpp
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -3971,17 +3971,16 @@ PresShell::DocumentStatesChanged(nsIDocu
     nsIFrame* root = mFrameConstructor->GetRootFrame();
     if (root) {
       root->InvalidateFrameSubtree();
       if (root->HasView()) {
         root->GetView()->SetForcedRepaint(true);
       }
     }
   }
-  ScheduleViewManagerFlush();
 }
 
 void
 PresShell::AttributeWillChange(nsIDocument* aDocument,
                                Element*     aElement,
                                int32_t      aNameSpaceID,
                                nsIAtom*     aAttribute,
                                int32_t      aModType)