| Index: chrome/browser/speech/tts_android.cc
|
| diff --git a/chrome/browser/speech/tts_android.cc b/chrome/browser/speech/tts_android.cc
|
| index 35ca0b2d4fe7f88bd600a947ad81e7e8a25a7205..1b558e41274313cf160ad7abd8777c840fd5f96b 100644
|
| --- a/chrome/browser/speech/tts_android.cc
|
| +++ b/chrome/browser/speech/tts_android.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/android/context_utils.h"
|
| #include "base/android/jni_string.h"
|
| #include "base/memory/singleton.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -25,7 +26,9 @@
|
| : utterance_id_(0) {
|
| JNIEnv* env = AttachCurrentThread();
|
| java_ref_.Reset(
|
| - Java_TtsPlatformImpl_create(env, reinterpret_cast<intptr_t>(this)));
|
| + Java_TtsPlatformImpl_create(env,
|
| + reinterpret_cast<intptr_t>(this),
|
| + base::android::GetApplicationContext()));
|
| }
|
|
|
| TtsPlatformImplAndroid::~TtsPlatformImplAndroid() {
|
|
|