Bug 486014: GMail storage counter flickers with each update, r=mfinkle, r=stuart
authorBenjamin Stover <bstover@mozilla.com>
Mon, 21 Sep 2009 17:46:10 -0400
changeset 898 287e40af082647fac8ab88d9d9aa0164f6c17383
parent 897 3da35b25c8cd8f559cf315b1c929c767cc6c4610
child 899 6804d689e10fae5fc9a97ac75d7b21f0438c5348
push id777
push usermfinkle@mozilla.com
push dateMon, 21 Sep 2009 21:49:40 +0000
reviewersmfinkle, stuart
bugs486014
Bug 486014: GMail storage counter flickers with each update, r=mfinkle, r=stuart
chrome/content/TileManager.js.in
--- a/chrome/content/TileManager.js.in
+++ b/chrome/content/TileManager.js.in
@@ -753,21 +753,22 @@ TileManager.Tile.prototype = {
 
     let sourceContent = browserView._contentWindow;
     let ctx = this._canvas.getContext("2d");
     ctx.save();
 
     browserView.browserToViewportCanvasContext(ctx);
 
     ctx.translate(x, y);
+
     ctx.drawWindow(sourceContent,
                    rect.left, rect.top,
                    rect.right - rect.left, rect.bottom - rect.top,
                    "white",
-                   (ctx.DRAWWINDOW_DO_NOT_FLUSH | ctx.DRAWWINDOW_DRAW_CARET));
+                   (ctx.DRAWWINDOW_DRAW_CARET));
 
     ctx.restore();
 
     this.unmarkDirty();
   },
 
   /**
    * Standard toString prints "Tile(<row>, <column>)", but if `more' flags true