Get rid of unnecessary printfs
authorVladimir Vukicevic <vladimir@pobox.com>
Mon, 28 Apr 2008 18:16:23 -0700
changeset 16931 f74614d3764c2eba178ece5b25cae4e558a43767
parent 16930 2ee90e2c1dd5852f69dba16cfec21a50c8d5e8f3
child 16932 2542d268de514dc24678fab614041106bc433b36
push id1298
push userpavlov@mozilla.com
push dateSun, 17 Aug 2008 05:03:09 +0000
treeherderautoland@4a506fa751d8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0a1pre
Get rid of unnecessary printfs
widget/src/qt/nsWindow.cpp
--- a/widget/src/qt/nsWindow.cpp
+++ b/widget/src/qt/nsWindow.cpp
@@ -697,18 +697,16 @@ nsWindow::Invalidate(const nsRect &aRect
              (void*)mDrawingArea,aRect.x, aRect.y, aRect.width, aRect.height, aIsSynchronous));
 
     if (!mDrawingArea)
         return NS_OK;
 
     if (aIsSynchronous)
         mDrawingArea->repaint(aRect.x, aRect.y, aRect.width, aRect.height);
     else {
-        if (!mDrawingArea->isVisible()) fprintf (stderr, "not visible!!\n");
-        if (!mDrawingArea->updatesEnabled()) fprintf (stderr, "updates not enabled!!\n");
         mDrawingArea->update(aRect.x, aRect.y, aRect.width, aRect.height);
     }
 
     return NS_OK;
 }
 
 NS_IMETHODIMP
 nsWindow::InvalidateRegion(const nsIRegion* aRegion,