summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/Preloader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/Preloader.java b/src/com/android/browser/Preloader.java
index 37cbc0e..3d30c96 100644
--- a/src/com/android/browser/Preloader.java
+++ b/src/com/android/browser/Preloader.java
@@ -84,7 +84,6 @@ public class Preloader {
s.cancelTimeout();
}
- WebViewTimersControl.getInstance().onPrerenderDone(s == null ? null : s.getWebView());
return s;
}
@@ -111,6 +110,7 @@ public class Preloader {
PreloaderSession s = takeSession(id);
if (s != null) {
if (LOGD_ENABLED) Log.d(LOGTAG, "Discard preload session " + id);
+ WebViewTimersControl.getInstance().onPrerenderDone(s == null ? null : s.getWebView());
PreloadedTabControl t = s.getTabControl();
t.destroy();
} else {