Index: testing/android/native_test/native_test_launcher.cc |
diff --git a/testing/android/native_test/native_test_launcher.cc b/testing/android/native_test/native_test_launcher.cc |
index 343f1180c6803ff600589777472790f348c87fc2..52b419d02ba05343791a86911d4499328450337a 100644 |
--- a/testing/android/native_test/native_test_launcher.cc |
+++ b/testing/android/native_test/native_test_launcher.cc |
@@ -70,12 +70,12 @@ void AndroidLog(int priority, const char* format, ...) { |
} // namespace |
static void RunTests(JNIEnv* env, |
- jobject obj, |
- jstring jcommand_line_flags, |
- jstring jcommand_line_file_path, |
- jstring jstdout_file_path, |
+ const JavaParamRef<jobject>& obj, |
+ const JavaParamRef<jstring>& jcommand_line_flags, |
+ const JavaParamRef<jstring>& jcommand_line_file_path, |
+ const JavaParamRef<jstring>& jstdout_file_path, |
jboolean jstdout_fifo, |
- jobject app_context) { |
+ const JavaParamRef<jobject>& app_context) { |
// Command line initialized basically, will be fully initialized later. |
static const char* const kInitialArgv[] = { "ChromeTestActivity" }; |
base::CommandLine::Init(arraysize(kInitialArgv), kInitialArgv); |