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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java

Issue 1799243003: aw: poll -> pollOnInstrumentationThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/MediaAccessPermissionRequestTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c1b2c0155076b6f80fae3edd2bc5e1a36ee4f3ae 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.pollOnInstrumentationThread(new Callable<Boolean>() {
@Override
public Boolean call() throws Exception {
return sampleBackgroundColorOnUiThread(awContents) == c;
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/MediaAccessPermissionRequestTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698