Index: chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
index 18bf4d0cac32ff29fc19bd953603186c0e751e19..c675a438866e7ff5a6aaa5dc200780b38fa59783 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
@@ -467,7 +467,7 @@ public class Tab implements NavigationClient { |
* @return Whether or not the tab has something valid to render. |
*/ |
public boolean isReady() { |
- return mNativePage != null || (mContentViewCore != null && mContentViewCore.isReady()); |
+ return mNativePage != null || (getWebContents() != null && getWebContents().isReady()); |
} |
/** |