Chromium Code Reviews| Index: content/browser/android/background_sync_launcher_android.cc |
| diff --git a/content/browser/android/background_sync_launcher_android.cc b/content/browser/android/background_sync_launcher_android.cc |
| index 78110c14f6428b08b9ca0ed3d22bb20418bfa00b..693817baa8a8174bad383aac37131c9531a0603e 100644 |
| --- a/content/browser/android/background_sync_launcher_android.cc |
| +++ b/content/browser/android/background_sync_launcher_android.cc |
| @@ -46,7 +46,8 @@ void BackgroundSyncLauncherAndroid::LaunchBrowserWhenNextOnlineImpl( |
| if (was_launching != now_launching) { |
| JNIEnv* env = base::android::AttachCurrentThread(); |
| Java_BackgroundSyncLauncher_setLaunchWhenNextOnline( |
| - env, java_launcher_.obj(), now_launching); |
| + env, java_launcher_.obj(), base::android::GetApplicationContext(), |
|
jdduke (slow)
2015/08/19 17:45:14
Hmm, is this code executed on WebView? I don't thi
jkarlin
2015/08/19 18:23:49
I'm not sure, so I've created a bug. Either way th
|
| + now_launching); |
| } |
| } |