Add null check

 Bug: 6584413

Change-Id: I63e94129fb0830e87d47ffca1d402a8aa838ac20
diff --git a/src/com/android/browser/TitleBar.java b/src/com/android/browser/TitleBar.java
index d3e8f7c..f5be5d3 100644
--- a/src/com/android/browser/TitleBar.java
+++ b/src/com/android/browser/TitleBar.java
@@ -406,7 +406,7 @@
     @Override
     public View focusSearch(View focused, int dir) {
         WebView web = getCurrentWebView();
-        if (FOCUS_DOWN == dir && hasFocus()
+        if (FOCUS_DOWN == dir && hasFocus() && web != null
                 && web.hasFocusable() && web.getParent() != null) {
             return web;
         }