diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 21:00:20 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 21:00:20 +0000 |
commit | f5c85ae39fe1d5ac30182ead6894a5d65d1cfb68 (patch) | |
tree | 66b1d26e9519d5188b5072e93688e595bbbe7be5 /content/browser/speech | |
parent | 5c135b62449d2832976b2ddb0378989b0efd26a3 (diff) | |
download | chromium_src-f5c85ae39fe1d5ac30182ead6894a5d65d1cfb68.zip chromium_src-f5c85ae39fe1d5ac30182ead6894a5d65d1cfb68.tar.gz chromium_src-f5c85ae39fe1d5ac30182ead6894a5d65d1cfb68.tar.bz2 |
Android: moves content/ to use long for JNI.
BUG=317523
Review URL: https://codereview.chromium.org/59673007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech')
-rw-r--r-- | content/browser/speech/speech_recognizer_impl_android.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/speech/speech_recognizer_impl_android.cc b/content/browser/speech/speech_recognizer_impl_android.cc index eb3f793..c771cef 100644 --- a/content/browser/speech/speech_recognizer_impl_android.cc +++ b/content/browser/speech/speech_recognizer_impl_android.cc @@ -55,7 +55,7 @@ void SpeechRecognizerImplAndroid::StartRecognitionOnUIThread( DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); JNIEnv* env = AttachCurrentThread(); j_recognition_.Reset(Java_SpeechRecognition_createSpeechRecognition(env, - GetApplicationContext(), reinterpret_cast<jint>(this))); + GetApplicationContext(), reinterpret_cast<intptr_t>(this))); Java_SpeechRecognition_startRecognition(env, j_recognition_.obj(), ConvertUTF8ToJavaString(env, language).obj(), continuous, interim_results); |