Back out bug 819000. a=bustage
authorChris Jones <jones.chris.g@gmail.com>
Thu, 24 Jan 2013 11:53:35 -0800
changeset 118315 1f8f9ca4d02a862b146f47b63d81209ddebc105a
parent 118314 b47f6f5f1fe616799b1788ec95eff879dfee4ea5
child 118316 d139dca8c3b483a73424c23dd956bf12d02d687e
push id345
push usercjones@mozilla.com
push dateThu, 24 Jan 2013 19:53:40 +0000
reviewersbustage
bugs819000
milestone18.0
Back out bug 819000. a=bustage
layout/base/nsPresShell.cpp
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -5241,20 +5241,16 @@ PresShell::Paint(nsIView*           aVie
                  const nsRegion&    aDirtyRegion,
                  PaintType          aType,
                  bool               aWillSendDidPaint)
 {
   SAMPLE_LABEL("Paint", "PresShell::Paint");
   NS_ASSERTION(!mIsDestroying, "painting a destroyed PresShell");
   NS_ASSERTION(aViewToPaint, "null view");
 
-  if (!mIsActive) {
-    return;
-  }
-
   nsAutoNotifyDidPaint notifyDidPaint(aWillSendDidPaint);
 
   nsPresContext* presContext = GetPresContext();
   AUTO_LAYOUT_PHASE_ENTRY_POINT(presContext, Paint);
 
   nsIFrame* frame = aViewToPaint->GetFrame();
 
   bool isRetainingManager;