summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/browser/BrowserActivity.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index c51c52b2a..8a70c56d8 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -824,10 +824,7 @@ public class BrowserActivity extends Activity
&& !mActivityInPause) {
WebView mainView = mTabControl.getCurrentWebView();
// if there is no current WebView, don't show the faked title bar;
- // if the main WebView's contentHeight is 0, it means the WebView
- // hasn't finished the start up process yet. Don't try to show this
- // window which will slow down the starting process.
- if (mainView == null || mainView.getContentHeight() == 0) {
+ if (mainView == null) {
return;
}