Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / android / shell / javatests / src / org / chromium / chrome / shell / ChromeShellTestBase.java
index 44f02a3..e3f8abc 100644 (file)
@@ -4,6 +4,8 @@
 
 package org.chromium.chrome.shell;
 
+import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
+
 import android.content.ComponentName;
 import android.content.Context;
 import android.content.Intent;
@@ -12,8 +14,6 @@ import android.test.ActivityInstrumentationTestCase2;
 import android.text.TextUtils;
 import android.util.Log;
 
-import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
-
 import org.chromium.base.CommandLine;
 import org.chromium.base.ThreadUtils;
 import org.chromium.base.library_loader.ProcessInitException;
@@ -96,7 +96,7 @@ public class ChromeShellTestBase extends ActivityInstrumentationTestCase2<Chrome
                             ChromeShellTab tab = activity.getActiveTab();
                             if (tab != null) {
                                 isLoaded.set(!tab.isLoading()
-                                        && !TextUtils.isEmpty(tab.getContentView().getUrl()));
+                                        && !TextUtils.isEmpty(tab.getContentViewCore().getUrl()));
                             } else {
                                 isLoaded.set(false);
                             }