Index: content/browser/child_process_launcher_helper_android.cc |
diff --git a/content/browser/child_process_launcher_helper_android.cc b/content/browser/child_process_launcher_helper_android.cc |
index 05fbf3b880b910ecbfde12a1ae23ef2c1034da8e..a09bb6b173116b1490d9d27d395f52bfb2d8db35 100644 |
--- a/content/browser/child_process_launcher_helper_android.cc |
+++ b/content/browser/child_process_launcher_helper_android.cc |
@@ -239,6 +239,13 @@ void ChildProcessLauncherHelper::OnChildProcessStarted( |
} |
} |
+// static |
+size_t ChildProcessLauncherHelper::GetNumberOfRendererSlots() { |
+ return static_cast<size_t>( |
+ Java_ChildProcessLauncherHelper_getNumberOfRendererSlots( |
+ AttachCurrentThread())); |
+} |
+ |
} // namespace internal |
bool RegisterChildProcessLauncher(JNIEnv* env) { |