summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2012-04-12 15:27:28 -0700
committerMichael Kolb <kolby@google.com>2012-04-12 15:34:23 -0700
commit778a48868401c777eef3b88de8e4b84dd98d58dd (patch)
tree66c0f768baf5afcb61cce90e7a3abc4a84645e5d /src
parent1434cb0a7650fc008745e9096746eaeaca3630c5 (diff)
downloadpackages_apps_browser-778a48868401c777eef3b88de8e4b84dd98d58dd.zip
packages_apps_browser-778a48868401c777eef3b88de8e4b84dd98d58dd.tar.gz
packages_apps_browser-778a48868401c777eef3b88de8e4b84dd98d58dd.tar.bz2
Monkeys everywhere
Bug: 6297208 Change-Id: I5728296944340e19402b2bc681f01e70aeaf8276
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/Controller.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 78a30d6..fdad0d8 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -788,8 +788,10 @@ public class Controller
mLoadStopped = true;
Tab tab = mTabControl.getCurrentTab();
WebView w = getCurrentTopWebView();
- w.stopLoading();
- mUi.onPageStopped(tab);
+ if (w != null) {
+ w.stopLoading();
+ mUi.onPageStopped(tab);
+ }
}
boolean didUserStopLoading() {