| Index: chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java
|
| index 3aa4aa557e3c7c28c006e8f7f2c665193553c8f2..e106eb2e499be006afa054c7a4aab8c1c9bb7259 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java
|
| @@ -145,7 +145,7 @@ public class RepostFormWarningTest extends ChromeActivityTestCaseBase<ChromeActi
|
| }
|
| });
|
|
|
| - CriteriaHelper.pollForUIThreadCriteria(
|
| + CriteriaHelper.pollUiThread(
|
| new Criteria("Form resubmission dialog not dismissed correctly") {
|
| @Override
|
| public boolean isSatisfied() {
|
| @@ -155,7 +155,7 @@ public class RepostFormWarningTest extends ChromeActivityTestCaseBase<ChromeActi
|
| }
|
|
|
| private AlertDialog waitForRepostFormWarningDialog() throws InterruptedException {
|
| - CriteriaHelper.pollForUIThreadCriteria(
|
| + CriteriaHelper.pollUiThread(
|
| new Criteria("Form resubmission warning not shown") {
|
| @Override
|
| public boolean isSatisfied() {
|
|
|