Index: chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java |
diff --git a/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java b/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java |
index 6a62722091baaac147d73c273535212903f129a5..d3cda45c2815e21a455500ffe129f864b7a355ca 100644 |
--- a/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java |
+++ b/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java |
@@ -148,7 +148,7 @@ public class SyncTest extends ChromeShellTestBase { |
String innerHtml = ""; |
try { |
innerHtml = JavaScriptUtils.executeJavaScriptAndWaitForResult( |
- contentViewCore, "document.documentElement.innerHTML"); |
+ contentViewCore.getWebContents(), "document.documentElement.innerHTML"); |
} catch (InterruptedException e) { |
Log.w(TAG, "Interrupted while polling about:sync page for sync status.", e); |
} catch (TimeoutException e) { |