Index: chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java |
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java |
index 16a6b3a26bf69d451bddf05ccb36d4db9ace1e63..006b0d56f079f6bb9ccffe7cdf31f2cfe7e5aac6 100644 |
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java |
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java |
@@ -352,8 +352,8 @@ |
* Load a url in a new tab. The {@link Tab} will pretend to be created from a link. |
* @param url The url of the page to load. |
*/ |
- public Tab loadUrlInNewTab(final String url) throws InterruptedException { |
- return loadUrlInNewTab(url, false); |
+ public void loadUrlInNewTab(final String url) throws InterruptedException { |
+ loadUrlInNewTab(url, false); |
} |
/** |
@@ -361,7 +361,7 @@ |
* @param url The url of the page to load. |
* @param incognito Whether the new tab should be incognito. |
*/ |
- public Tab loadUrlInNewTab(final String url, final boolean incognito) |
+ public void loadUrlInNewTab(final String url, final boolean incognito) |
throws InterruptedException { |
Tab tab = null; |
if (FeatureUtilities.isDocumentMode(getInstrumentation().getContext())) { |
@@ -405,7 +405,6 @@ |
} |
ChromeTabUtils.waitForTabPageLoaded(tab, url); |
getInstrumentation().waitForIdleSync(); |
- return tab; |
} |
/** |