Index: content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java b/content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java |
index ed8ec2365c924c822e8318e71e81d2b500b9db4d..71e127840fe78b31011ef33d95f691772314cca8 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java |
@@ -125,8 +125,9 @@ public class GestureDetectorResetTest extends ContentShellTestBase { |
getInstrumentation().runOnMainSync(new Runnable() { |
@Override |
public void run() { |
- getActivity().getActiveShell().getContentViewCore().loadUrl( |
- new LoadUrlParams(CLICK_TEST_URL)); |
+ getActivity().getActiveShell().getContentViewCore().getWebContents() |
+ .getNavigationController().loadUrl( |
+ new LoadUrlParams(CLICK_TEST_URL)); |
} |
}); |
onPageFinishedHelper.waitForCallback(currentCallCount, 1, |