| Index: components/gcm_driver/gcm_driver_android.cc
|
| diff --git a/components/gcm_driver/gcm_driver_android.cc b/components/gcm_driver/gcm_driver_android.cc
|
| index a0fedd5cf650ea7b0d940baba5007154aff8f961..b7230f21c46082a2251469f16b96d3d8c0a1735c 100644
|
| --- a/components/gcm_driver/gcm_driver_android.cc
|
| +++ b/components/gcm_driver/gcm_driver_android.cc
|
| @@ -7,7 +7,6 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| -#include "base/android/context_utils.h"
|
| #include "base/android/jni_android.h"
|
| #include "base/android/jni_array.h"
|
| #include "base/android/jni_string.h"
|
| @@ -31,10 +30,7 @@ namespace gcm {
|
| : GCMDriver(store_path, blocking_task_runner),
|
| recorder_(this) {
|
| JNIEnv* env = AttachCurrentThread();
|
| - java_ref_.Reset(
|
| - Java_GCMDriver_create(env,
|
| - reinterpret_cast<intptr_t>(this),
|
| - base::android::GetApplicationContext()));
|
| + java_ref_.Reset(Java_GCMDriver_create(env, reinterpret_cast<intptr_t>(this)));
|
| }
|
|
|
| GCMDriverAndroid::~GCMDriverAndroid() {
|
|
|