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

Unified Diff: chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java

Issue 1166223003: [Android] Use the UI thread for VSyncMonitorTest vsync requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 5 years, 6 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 | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
diff --git a/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java b/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
index c360ad13ca55c885c2b48dfe0c194f82989fceef..b1447bdbb4a89abd7ba8acc244a20a8c1d5edb9d 100644
--- a/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
+++ b/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
@@ -45,13 +45,13 @@ public class AutofillTest extends ChromeShellTestBase {
waitForActiveShellToBeDoneLoading();
mMockAutofillCallback = new MockAutofillCallback();
- mWindowAndroid = new ActivityWindowAndroid(activity);
final ViewAndroidDelegate viewDelegate =
activity.getActiveContentViewCore().getViewAndroidDelegate();
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {
+ mWindowAndroid = new ActivityWindowAndroid(activity);
mAutofillPopup = new AutofillPopup(activity, viewDelegate, mMockAutofillCallback);
mAutofillPopup.filterAndShow(new AutofillSuggestion[0], false);
mAutofillPopup.setAnchorRect(50, 500, 500, 50);
« no previous file with comments | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698