summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/Controller.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 8dc05f8..8238d77 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1876,7 +1876,8 @@ public class Controller
}
boolean isInLoad() {
- return getCurrentTab().inPageLoad();
+ final Tab tab = getCurrentTab();
+ return (tab != null) && tab.inPageLoad();
}
// bookmark handling