| Index: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java
|
| index fb55de2f1feb94a75e4ca208796c1fcb00806276..b68e8e445f532147831fffc183eeebf8460403d4 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java
|
| @@ -128,7 +128,7 @@ public class ScreenOrientationListenerTest extends ContentShellTestBase {
|
| getInstrumentation().waitForIdleSync();
|
|
|
| try {
|
| - CriteriaHelper.pollForCriteria(criteria);
|
| + CriteriaHelper.pollInstrumentationThread(criteria);
|
| } catch (AssertionError e) {
|
| // This should not be here but the Criteria does not support cases where the orientation
|
| // is not being changed (i.e. where the Natural orientation matches the one you are
|
|
|