| Index: remoting/client/jni/chromoting_jni_runtime.cc
|
| diff --git a/remoting/client/jni/chromoting_jni_runtime.cc b/remoting/client/jni/chromoting_jni_runtime.cc
|
| index 0d6f9b0323b993c02a6c24ac282a5b628212a197..9936f61cd71f5b489fdcbae0106e7deb555017ac 100644
|
| --- a/remoting/client/jni/chromoting_jni_runtime.cc
|
| +++ b/remoting/client/jni/chromoting_jni_runtime.cc
|
| @@ -40,8 +40,7 @@ bool RegisterChromotingJniRuntime(JNIEnv* env) {
|
| static void LoadNative(JNIEnv* env,
|
| const JavaParamRef<jclass>& clazz,
|
| const JavaParamRef<jobject>& context) {
|
| - base::android::ScopedJavaLocalRef<jobject> context_activity(env, context);
|
| - base::android::InitApplicationContext(env, context_activity);
|
| + base::android::InitApplicationContext(env, context);
|
|
|
| // The google_apis functions check the command-line arguments to make sure no
|
| // runtime API keys have been specified by the environment. Unfortunately, we
|
|
|