am a48621be: Merge "Monkey season" into ics-mr1

* commit 'a48621be8a537284f37b843388b30017b0cfce51':
  Monkey season
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 710c844..e08dc15 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -2214,7 +2214,10 @@
         removeSubWindow(tab);
         // dismiss the subwindow. This will destroy the WebView.
         tab.dismissSubWindow();
-        getCurrentTopWebView().requestFocus();
+        WebView wv = getCurrentTopWebView();
+        if (wv != null) {
+            wv.requestFocus();
+        }
     }
 
     @Override