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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.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/AwPermissionManagerTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
index a4c0894a739916e97c494cedc2d459183431e268..b3841fb49963bfab9d338bbc7898888addf56bee 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
@@ -84,7 +84,7 @@ public class AwPermissionManagerTest extends AwTestBase {
private void pollTitleAs(final String title, final AwContents awContents)
throws Exception {
- poll(new Callable<Boolean>() {
+ pollInstrumentationThread(new Callable<Boolean>() {
@Override
public Boolean call() throws Exception {
return title.equals(getTitleOnUiThread(awContents));

Powered by Google App Engine
This is Rietveld 408576698