| Index: content/shell/android/shell_manager.cc
|
| diff --git a/content/shell/android/shell_manager.cc b/content/shell/android/shell_manager.cc
|
| index b262c883eddaf46d56b87dfd5f79dd9ba1f66e2f..eb9e6368e601c2fffb3eed5ab15430c3f44c1ac7 100644
|
| --- a/content/shell/android/shell_manager.cc
|
| +++ b/content/shell/android/shell_manager.cc
|
| @@ -49,12 +49,16 @@ bool RegisterShellManager(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|
| -static void Init(JNIEnv* env, jclass clazz, jobject obj) {
|
| +static void Init(JNIEnv* env,
|
| + const JavaParamRef<jclass>& clazz,
|
| + const JavaParamRef<jobject>& obj) {
|
| g_global_state.Get().j_shell_manager.Reset(
|
| base::android::ScopedJavaLocalRef<jobject>(env, obj));
|
| }
|
|
|
| -void LaunchShell(JNIEnv* env, jclass clazz, jstring jurl) {
|
| +void LaunchShell(JNIEnv* env,
|
| + const JavaParamRef<jclass>& clazz,
|
| + const JavaParamRef<jstring>& jurl) {
|
| ShellBrowserContext* browserContext =
|
| ShellContentBrowserClient::Get()->browser_context();
|
| GURL url(base::android::ConvertJavaStringToUTF8(env, jurl));
|
|
|