Index: chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java |
index e9a81acd1b76dba565e0dc546ae658dc3ae0b0bb..bf9eff188c88f15438cd31886433b554c44e0add 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java |
@@ -84,7 +84,7 @@ public class SelectFileDialogTest extends ChromeShellTestBase { |
// TODO(aurimas) remove this wait once crbug.com/179511 is fixed. |
assertWaitForPageScaleFactorMatch(2); |
assertTrue( |
- DOMUtils.waitForNonZeroNodeBounds(mContentViewCore, "input_file")); |
+ DOMUtils.waitForNonZeroNodeBounds(mContentViewCore.getWebContents(), "input_file")); |
} |
/** |