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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java

Issue 251443004: ContentView->ContentViewCore.getContainerView in chrome/ tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
index 8fdd89afab826608c3ac8d34a5ca5e97a7ed0492..e57d34f3c42e91d524bfff2705474808e63474be 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
@@ -84,7 +84,7 @@ public class NavigationPopupTest extends ChromeShellTestBase {
final NavigationPopup popup = new NavigationPopup(
mActivity, client, true);
popup.setWidth(300);
- popup.setAnchorView(mActivity.getActiveContentView());
+ popup.setAnchorView(mActivity.getActiveContentViewCore().getContainerView());
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {
@@ -128,7 +128,7 @@ public class NavigationPopupTest extends ChromeShellTestBase {
final NavigationPopup popup = new NavigationPopup(
mActivity, client, true);
popup.setWidth(300);
- popup.setAnchorView(mActivity.getActiveContentView());
+ popup.setAnchorView(mActivity.getActiveContentViewCore().getContainerView());
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698