Index: content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
index b9d9f2639b7f50a5b22ecf055309e20ab683cd2f..7686f7ed03fdb5840194adae94f421008788d19a 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
@@ -27,7 +27,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase { |
private int mInitializedCounter = 0; |
@Override |
- void prepareToStartBrowserProcess(int numRenderers) throws ProcessInitException { |
+ void prepareToStartBrowserProcess(boolean singleProcess) throws ProcessInitException { |
if (!mLibraryLoadSucceeds) { |
throw new ProcessInitException( |
LoaderErrors.LOADER_ERROR_NATIVE_LIBRARY_LOAD_FAILED); |
@@ -360,7 +360,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase { |
@Override |
public void run() { |
try { |
- mController.startBrowserProcessesSync(1); |
+ mController.startBrowserProcessesSync(false); |
} catch (Exception e) { |
fail("Browser should have started successfully"); |
} |
@@ -392,7 +392,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase { |
// to do both these in a since Runnable instance. This avoids the |
// unpredictable race that happens in real situations. |
try { |
- mController.startBrowserProcessesSync(1); |
+ mController.startBrowserProcessesSync(false); |
} catch (Exception e) { |
fail("Browser should have started successfully"); |
} |
@@ -421,7 +421,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase { |
@Override |
public void run() { |
try { |
- mController.startBrowserProcessesSync(1); |
+ mController.startBrowserProcessesSync(false); |
} catch (Exception e) { |
fail("Browser should have started successfully"); |
} |