| Index: content/public/android/javatests/src/org/chromium/content/browser/input/ImeLollipopTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeLollipopTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeLollipopTest.java
|
| index 1226ba1f4bd282817e838c20d6d9b1a098975577..2d071f8d52ec3665dc82e0457f87134243abdea3 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeLollipopTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeLollipopTest.java
|
| @@ -72,7 +72,7 @@ public class ImeLollipopTest extends ImeTest {
|
|
|
| private void waitForUpdateCursorAnchorInfoCallCount(final int expected)
|
| throws InterruptedException {
|
| - CriteriaHelper.pollForUIThreadCriteria(new Criteria() {
|
| + CriteriaHelper.pollUiThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| int actual = mInputMethodManagerWrapper.getUpdateCursorAnchorInfoCounter();
|
| @@ -84,7 +84,7 @@ public class ImeLollipopTest extends ImeTest {
|
|
|
| private void waitForUpdateCursorAnchorInfoComposingText(final String expected)
|
| throws InterruptedException {
|
| - CriteriaHelper.pollForUIThreadCriteria(new Criteria() {
|
| + CriteriaHelper.pollUiThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| CursorAnchorInfo info = mInputMethodManagerWrapper.getLastCursorAnchorInfo();
|
|
|