mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug Bug 480761: avoid accidentally calling endLoading too early on startup, reduces drawing to a single drawWindow. r=mfinkle
This commit is contained in:
parent
5c263e373f
commit
5c7e9e9a34
@ -129,8 +129,8 @@ var Browser = {
|
||||
ws.updateSize(w, h);
|
||||
|
||||
if (Browser._isStartup) {
|
||||
// now we can set the viewport to a real size and draw the page
|
||||
ws.endUpdateBatch();
|
||||
Browser.canvasBrowser.endLoading();
|
||||
Browser._selectedTab.updateThumbnail();
|
||||
Browser._isStartup = false;
|
||||
}
|
||||
@ -1136,8 +1136,7 @@ ProgressController.prototype = {
|
||||
if (this.browser.currentURI.spec != "about:blank")
|
||||
this.browser.contentWindow.focus();
|
||||
|
||||
if (!this._isStartup)
|
||||
Browser.canvasBrowser.endLoading();
|
||||
Browser.canvasBrowser.endLoading();
|
||||
}
|
||||
if (!this._isStartup)
|
||||
this._tab.updateThumbnail();
|
||||
|
Loading…
Reference in New Issue
Block a user