summaryrefslogtreecommitdiffstats
path: root/base/android/jni_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/android/jni_android.h')
-rw-r--r--base/android/jni_android.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/android/jni_android.h b/base/android/jni_android.h
index 81ce3fd..7a00632 100644
--- a/base/android/jni_android.h
+++ b/base/android/jni_android.h
@@ -41,7 +41,8 @@ BASE_EXPORT bool IsVMInitialized();
// Initializes the global application context object. The |context| can be any
// valid reference to the application context. Internally holds a global ref to
// the context. InitVM and InitApplicationContext maybe called in either order.
-BASE_EXPORT void InitApplicationContext(const JavaRef<jobject>& context);
+BASE_EXPORT void InitApplicationContext(JNIEnv* env,
+ const JavaRef<jobject>& context);
// Gets a global ref to the application context set with
// InitApplicationContext(). Ownership is retained by the function - the caller