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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.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: android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java
index d182da56593c2ba923c7a2a787e0d1a46b295890..7b125061062a1f63d5dbe42201fecd435078d1a4 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java
@@ -80,7 +80,7 @@ public class GraphicsTestUtils {
public static void pollForBackgroundColor(final AwContents awContents, final int c)
throws Throwable {
- AwTestBase.poll(new Callable<Boolean>() {
+ AwTestBase.pollInstrumentationThread(new Callable<Boolean>() {
@Override
public Boolean call() throws Exception {
return sampleBackgroundColorOnUiThread(awContents) == c;

Powered by Google App Engine
This is Rietveld 408576698