Index: content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java |
index 9fd40c40dc22cfbf7cef2a99633164a4c04906b8..f8d8b0f0c841c866adf10ffa4e72c5474b5278a5 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java |
@@ -20,6 +20,9 @@ import org.chromium.content_shell_apk.ContentShellTestBase; |
import java.util.concurrent.TimeUnit; |
+/** |
+ * Integration Tests for SelectPopup. |
+ */ |
public class SelectPopupTest extends ContentShellTestBase { |
private static final long WAIT_TIMEOUT_SECONDS = scaleTimeout(2); |
private static final String SELECT_URL = UrlUtils.encodeHtmlDataUri( |
@@ -87,7 +90,7 @@ public class SelectPopupTest extends ContentShellTestBase { |
@Override |
public void run() { |
// Now reload the page while the popup is showing, it gets hidden. |
- getContentViewCore().reload(true); |
+ getContentViewCore().getWebContents().getNavigationController().reload(true); |
} |
}); |
onPageFinishedHelper.waitForCallback(currentCallCount, 1, |