Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. r=snorp a=jcristau
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 23 May 2019 00:20:31 +0200
changeset 536478 d37e9d3c46d7babf800258e696687c18370c22df
parent 536477 dbf2d7493d851d2a1f57b3a9d414ca5bb99ed31f
child 536479 b03b23d73d3c50e43c7afe75705ca8fa2e711385
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp, jcristau
bugs1543387
milestone68.0
Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. r=snorp a=jcristau
mobile/android/chrome/geckoview/GeckoViewContentChild.js
--- a/mobile/android/chrome/geckoview/GeckoViewContentChild.js
+++ b/mobile/android/chrome/geckoview/GeckoViewContentChild.js
@@ -236,17 +236,17 @@ class GeckoViewContentChild extends Geck
                   if (data.scroll) {
                     SessionStoreUtils.restoreScrollPosition(frame, data);
                   }
                 });
               }
               delete this._savedState;
               removeEventListener("pageshow", scrollRestore);
             }
-          }
+          };
 
           addEventListener("pageshow", scrollRestore, {capture: true, mozSystemGroup: true});
 
           if (!this.progressFilter) {
             this.progressFilter =
               Cc["@mozilla.org/appshell/component/browser-status-filter;1"]
               .createInstance(Ci.nsIWebProgress);
             this.flags = Ci.nsIWebProgress.NOTIFY_LOCATION;