| Index: content/app/android/content_main.cc
|
| diff --git a/content/app/android/content_main.cc b/content/app/android/content_main.cc
|
| index 13f20b653fefb03671974238f55eeae12b2d8e3b..986474fb2a236493c125ce9df34aa7444d50ac7a 100644
|
| --- a/content/app/android/content_main.cc
|
| +++ b/content/app/android/content_main.cc
|
| @@ -28,13 +28,15 @@ LazyInstance<scoped_ptr<ContentMainDelegate> > g_content_main_delegate =
|
|
|
| } // namespace
|
|
|
| -static void InitApplicationContext(JNIEnv* env, jclass clazz, jobject context) {
|
| +static void InitApplicationContext(JNIEnv* env,
|
| + const JavaParamRef<jclass>& clazz,
|
| + const JavaParamRef<jobject>& context) {
|
| base::android::ScopedJavaLocalRef<jobject> scoped_context(
|
| env, env->NewLocalRef(context));
|
| base::android::InitApplicationContext(env, scoped_context);
|
| }
|
|
|
| -static jint Start(JNIEnv* env, jclass clazz) {
|
| +static jint Start(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
|
| TRACE_EVENT0("startup", "content::Start");
|
|
|
| // On Android we can have multiple requests to start the browser in process
|
|
|