Index: content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
index 64de8457de00b6a7ec612fbb8ed7cc5e726546fb..8319e2d5baa436c6c10bbafe8eac93e0977f33a0 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
@@ -66,8 +66,8 @@ public class ContentDetectionTestBase extends ContentShellTestBase { |
callbackHelperContainer.getOnStartContentIntentHelper(); |
int currentCallCount = onStartContentIntentHelper.getCallCount(); |
- DOMUtils.scrollNodeIntoView(getContentViewCore(), callbackHelperContainer, id); |
- DOMUtils.clickNode(this, getContentView(), callbackHelperContainer, id); |
+ DOMUtils.scrollNodeIntoView(getContentViewCore(), id); |
+ DOMUtils.clickNode(this, getContentView(), id); |
onStartContentIntentHelper.waitForCallback(currentCallCount, 1, WAIT_TIMEOUT_SECONDS, |
TimeUnit.SECONDS); |
@@ -87,8 +87,8 @@ public class ContentDetectionTestBase extends ContentShellTestBase { |
callbackHelperContainer.getOnPageFinishedHelper(); |
int currentCallCount = onPageFinishedHelper.getCallCount(); |
- DOMUtils.scrollNodeIntoView(getContentViewCore(), callbackHelperContainer, id); |
- DOMUtils.clickNode(this, getContentView(), callbackHelperContainer, id); |
+ DOMUtils.scrollNodeIntoView(getContentViewCore(), id); |
+ DOMUtils.clickNode(this, getContentView(), id); |
onPageFinishedHelper.waitForCallback(currentCallCount, 1, WAIT_TIMEOUT_SECONDS, |
TimeUnit.SECONDS); |