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 108394 01095a6c89261801f73fc19c920a9287e55d3704
parent 108393 0cc58b98cbf92bc1a33e1b50e7e30347860a948c
child 108395 eeada32fd169062a5f0b6c8650596eca9094162d
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)