| Index: content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java
|
| index 7c4445b30c838b28652b78721e38c373014b7d32..4d31c2bb5c408b0b4ab05cd30c378eec58d596ec 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java
|
| @@ -89,13 +89,13 @@ public class ContentViewPopupZoomerTest extends ContentShellTestBase {
|
| final ViewGroup view = viewCore.getContainerView();
|
|
|
| // The popup should be hidden before the click.
|
| - CriteriaHelper.pollForCriteria(new PopupShowingCriteria(view, false));
|
| + CriteriaHelper.pollInstrumentationThread(new PopupShowingCriteria(view, false));
|
|
|
| // Once clicked, the popup should show up.
|
| DOMUtils.clickNode(this, viewCore, "clickme");
|
| - CriteriaHelper.pollForCriteria(new PopupShowingCriteria(view, true));
|
| + CriteriaHelper.pollInstrumentationThread(new PopupShowingCriteria(view, true));
|
|
|
| // The shown popup should have valid dimensions eventually.
|
| - CriteriaHelper.pollForCriteria(new PopupHasNonZeroDimensionsCriteria(view));
|
| + CriteriaHelper.pollInstrumentationThread(new PopupHasNonZeroDimensionsCriteria(view));
|
| }
|
| }
|
|
|