Index: content/browser/android/browser_startup_controller.cc |
diff --git a/content/browser/android/browser_startup_controller.cc b/content/browser/android/browser_startup_controller.cc |
index 502f198edba2700c568e78e90abe6f53d651a337..74e38e6283900d9233c7dab1dec723870ac35e48 100644 |
--- a/content/browser/android/browser_startup_controller.cc |
+++ b/content/browser/android/browser_startup_controller.cc |
@@ -28,13 +28,13 @@ bool RegisterBrowserStartupController(JNIEnv* env) { |
static void SetCommandLineFlags(JNIEnv* env, |
jclass clazz, |
- jint max_render_process_count, |
+ jboolean single_process, |
jstring plugin_descriptor) { |
std::string plugin_str = |
(plugin_descriptor == NULL |
? std::string() |
: base::android::ConvertJavaStringToUTF8(env, plugin_descriptor)); |
- SetContentCommandLineFlags(max_render_process_count, plugin_str); |
+ SetContentCommandLineFlags(static_cast<bool>(single_process), plugin_str); |
} |
static jboolean IsOfficialBuild(JNIEnv* env, jclass clazz) { |