| Index: chrome/browser/android/ntp/ntp_snippets_launcher.cc
|
| diff --git a/chrome/browser/android/ntp/ntp_snippets_launcher.cc b/chrome/browser/android/ntp/ntp_snippets_launcher.cc
|
| index 819e569e04ebfab2cbb5683e4603c83e71bd9ac2..778f91fa0dd5654b79caa41332647832e38f09ea 100644
|
| --- a/chrome/browser/android/ntp/ntp_snippets_launcher.cc
|
| +++ b/chrome/browser/android/ntp/ntp_snippets_launcher.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/android/ntp/ntp_snippets_launcher.h"
|
|
|
| +#include "base/android/context_utils.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "jni/SnippetsLauncher_jni.h"
|
|
|
| @@ -43,7 +44,8 @@
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| - java_launcher_.Reset(Java_SnippetsLauncher_create(env));
|
| + java_launcher_.Reset(Java_SnippetsLauncher_create(
|
| + env, base::android::GetApplicationContext()));
|
| }
|
|
|
| NTPSnippetsLauncher::~NTPSnippetsLauncher() {
|
|
|