Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java |
index 3c0f042b63415e34f04c02cf18d282c65b7fcbd9..b41586f23b4b7771fd7859fcd067d0e440a0b118 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java |
@@ -175,7 +175,7 @@ public class TranslateLanguagePanel |
*/ |
private ArrayList<SpinnerLanguageElement> createSpinnerLanguages(String avoidCode) { |
ArrayList<SpinnerLanguageElement> result = new ArrayList<SpinnerLanguageElement>(); |
- for (TranslateOptions.TranslateLanguagePair language : mSessionOptions.allLanguages()) { |
+ for (TranslateOptions.TranslateLanguageData language : mSessionOptions.allLanguages()) { |
if (!language.mLanguageCode.equals(avoidCode)) { |
result.add(new SpinnerLanguageElement( |
language.mLanguageRepresentation, language.mLanguageCode)); |