summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2011-08-02 11:14:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-02 11:14:10 -0700
commitdcffae4ac85da22ce6fb441e943527ebf4491ec2 (patch)
tree90c4498223901d2803735d383e20a4d3e110c735
parent513207630d500ac9a75d9d139655bf6aa32cc1be (diff)
parentcf9120ebd80d9ecdf54ec387bc1e8c4b9b91c6ea (diff)
downloadpackages_apps_Browser-dcffae4ac85da22ce6fb441e943527ebf4491ec2.zip
packages_apps_Browser-dcffae4ac85da22ce6fb441e943527ebf4491ec2.tar.gz
packages_apps_Browser-dcffae4ac85da22ce6fb441e943527ebf4491ec2.tar.bz2
Merge "Don't pause webview timers as we're rendering a preloaded tab."
-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 {