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 71e127840fe78b31011ef33d95f691772314cca8..b78eabfa96b32e94acb917d0bb3be10a1367160f 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 |
@@ -52,7 +52,7 @@ public class GestureDetectorResetTest extends ContentShellTestBase { |
@Override |
public boolean isSatisfied() { |
try { |
- String contents = DOMUtils.getNodeContents(mViewCore, mNodeId); |
+ String contents = DOMUtils.getNodeContents(mViewCore.getWebContents(), mNodeId); |
return mExpectedContents.equals(contents); |
} catch (Throwable e) { |
Assert.fail("Failed to retrieve node contents: " + e); |