bug 459989. Don't do additional layout flushes when we paint. r=vlad

This commit is contained in:
Stuart Parmenter committed 2008-10-15 00:14:53 -07:00
1 parent 0b33f3c226
commit 10115044ac
1 file changed
+4 -2
+4 -2
View File
@@ -573,7 +573,8 @@
x, y,
this._screenToPage(rect.width),
this._screenToPage(rect.height),
"white");
"white",
ctx.DRAWWINDOW_DO_NOT_FLUSH);
ctx.restore();
this._updateCanvasPosition();
@@ -643,7 +644,8 @@
ctx.drawWindow(this.browser.contentWindow,
dest.x, dest.y,
dest.width, dest.height,
"white");
"white",
ctx.DRAWWINDOW_DO_NOT_FLUSH);
ctx.restore();
]]></body>