Index: content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java |
index 0247585c514956904d5f2f6683c297f1409480f4..e49f87d969a3019a79ecb85872345adcacf52d87 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java |
@@ -21,7 +21,6 @@ import org.chromium.content.browser.RenderCoordinates; |
import org.chromium.content.browser.test.util.Criteria; |
import org.chromium.content.browser.test.util.CriteriaHelper; |
import org.chromium.content.browser.test.util.DOMUtils; |
-import org.chromium.content.browser.test.util.TestCallbackHelperContainer; |
import org.chromium.content.browser.test.util.TestInputMethodManagerWrapper; |
import org.chromium.content.browser.test.util.TestTouchUtils; |
import org.chromium.content.browser.test.util.TouchCommon; |
@@ -250,8 +249,7 @@ public class InsertionHandleTest extends ContentShellTestBase { |
// click (only if it changes the selection), the insertion handle is displayed. So that the |
// second click changes the selection, the two clicks should be in sufficiently different |
// locations. |
- Rect nodeBounds = DOMUtils.getNodeBounds(getContentViewCore(), |
- new TestCallbackHelperContainer(getContentView()), nodeId); |
+ Rect nodeBounds = DOMUtils.getNodeBounds(getContentViewCore(), nodeId); |
RenderCoordinates renderCoordinates = getContentViewCore().getRenderCoordinates(); |
int offsetX = getContentViewCore().getViewportSizeOffsetWidthPix(); |