Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java

Issue 1786243003: Rename pollForCriteria to pollForTestThreadCriteria. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and update MediaRouterIntegrationTest.java Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698