Index: chrome/browser/ui/android/infobars/translate_compact_infobar.cc |
diff --git a/chrome/browser/ui/android/infobars/translate_compact_infobar.cc b/chrome/browser/ui/android/infobars/translate_compact_infobar.cc |
index 0c0cec0f990aae91c8ac3adad27eb5edc2ee2968..bc321296a25880cd972020bf0c2716a3bf1ba71f 100644 |
--- a/chrome/browser/ui/android/infobars/translate_compact_infobar.cc |
+++ b/chrome/browser/ui/android/infobars/translate_compact_infobar.cc |
@@ -43,6 +43,8 @@ ScopedJavaLocalRef<jobject> TranslateCompactInfoBar::CreateRenderInfoBar( |
TranslateUtils::GetJavaLanguages(env, delegate); |
base::android::ScopedJavaLocalRef<jobjectArray> java_codes = |
TranslateUtils::GetJavaLanguageCodes(env, delegate); |
+ base::android::ScopedJavaLocalRef<jintArray> java_hash_codes = |
+ TranslateUtils::GetJavaLanguageHashCodes(env, delegate); |
ScopedJavaLocalRef<jstring> source_language_code = |
base::android::ConvertUTF8ToJavaString( |
@@ -54,7 +56,8 @@ ScopedJavaLocalRef<jobject> TranslateCompactInfoBar::CreateRenderInfoBar( |
return Java_TranslateCompactInfoBar_create( |
env, delegate->translate_step(), source_language_code, |
target_language_code, delegate->ShouldAlwaysTranslate(), |
- delegate->triggered_from_menu(), java_languages, java_codes); |
+ delegate->triggered_from_menu(), java_languages, java_codes, |
+ java_hash_codes); |
} |
void TranslateCompactInfoBar::ProcessButton(int action) { |