Index: content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java b/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java |
index c6dab26384ef445c5c453dbd5e0f78be08541fea..e5084a37ec41723156213dab061d8b556b4c0ec2 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java |
@@ -67,7 +67,8 @@ public class WebContentsObserverAndroidTest extends ContentShellTestBase { |
getInstrumentation().runOnMainSync(new Runnable() { |
@Override |
public void run() { |
- getContentViewCore().loadUrl(new LoadUrlParams(URL)); |
+ getContentViewCore().getWebContents().getNavigationController() |
+ .loadUrl(new LoadUrlParams(URL)); |
} |
}); |
observer.getDidFirstVisuallyNonEmptyPaintCallbackHelper().waitForCallback(callCount); |