| Index: chrome/browser/android/background_sync_launcher_android.cc
|
| diff --git a/chrome/browser/android/background_sync_launcher_android.cc b/chrome/browser/android/background_sync_launcher_android.cc
|
| index c31cac9461681d69efc2d9fc410520ccd375c53c..e5f5867448509037120c35edb6ec04f23a0704fd 100644
|
| --- a/chrome/browser/android/background_sync_launcher_android.cc
|
| +++ b/chrome/browser/android/background_sync_launcher_android.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/browser/android/background_sync_launcher_android.h"
|
|
|
| -#include "base/android/context_utils.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "jni/BackgroundSyncLauncher_jni.h"
|
|
|
| @@ -61,16 +60,14 @@ bool BackgroundSyncLauncherAndroid::ShouldDisableBackgroundSync() {
|
| return false;
|
| }
|
| return Java_BackgroundSyncLauncher_shouldDisableBackgroundSync(
|
| - base::android::AttachCurrentThread(),
|
| - base::android::GetApplicationContext());
|
| + base::android::AttachCurrentThread());
|
| }
|
|
|
| BackgroundSyncLauncherAndroid::BackgroundSyncLauncherAndroid() {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| - java_launcher_.Reset(Java_BackgroundSyncLauncher_create(
|
| - env, base::android::GetApplicationContext()));
|
| + java_launcher_.Reset(Java_BackgroundSyncLauncher_create(env));
|
| }
|
|
|
| BackgroundSyncLauncherAndroid::~BackgroundSyncLauncherAndroid() {
|
|
|