mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 05:00:13 -10:00
bug 459989. Don't do additional layout flushes when we paint. r=vlad
This commit is contained in:
1 parent
0b33f3c226
commit
10115044ac
1 file changed
+4
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user