diff options
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index 6e8f603..053fd7e 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -624,6 +624,7 @@ public abstract class BaseUi implements UI, WebViewFactory { @Override public void setShouldShowErrorConsole(Tab tab, boolean flag) { + if (tab == null) return; ErrorConsoleView errorConsole = tab.getErrorConsole(true); if (flag) { // Setting the show state of the console will cause it's the layout |