Index: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
index db3dcd85cd2d8ea93fa2844086f5a8ca9cd2d97b..d8dfe07802bb4549cbfad95d19149182d8f4adc0 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
@@ -259,7 +259,7 @@ public class AwTestBase |
getInstrumentation().runOnMainSync(new Runnable() { |
@Override |
public void run() { |
- awContents.getContentViewCore().reload(true); |
+ awContents.getNavigationController().reload(true); |
} |
}); |
onPageFinishedHelper.waitForCallback(currentCallCount, 1, WAIT_TIMEOUT_MS, |
@@ -355,7 +355,7 @@ public class AwTestBase |
return runTestOnUiThreadAndGetResult(new Callable<String>() { |
@Override |
public String call() throws Exception { |
- return awContents.getContentViewCore().getTitle(); |
+ return awContents.getTitle(); |
} |
}); |
} |