Index: ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java |
diff --git a/ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java b/ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java |
index becf1f4782890dfcdbb8874e4c9a944c0a08e8c6..8deeb475e5b257f91c94ab1bc7794dfef8a5c3b0 100644 |
--- a/ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java |
+++ b/ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java |
@@ -11,7 +11,6 @@ import org.chromium.base.ApiCompatibilityUtils; |
import org.chromium.base.ApplicationStatus; |
import org.chromium.base.CalledByNative; |
import org.chromium.base.JNINamespace; |
-import org.chromium.base.LocaleUtils; |
import java.util.Locale; |
@@ -30,16 +29,6 @@ public class LocalizationUtils { |
private LocalizationUtils() { /* cannot be instantiated */ } |
- /** |
- * @return the default locale, translating Android deprecated |
- * language codes into the modern ones used by Chromium. |
- */ |
- @CalledByNative |
- public static String getDefaultLocale() { |
- // TODO(vivekg): Native callers should use LocaleUtils directly instead of the redirection. |
- return LocaleUtils.getDefaultLocale(); |
- } |
- |
@CalledByNative |
private static Locale getJavaLocale(String language, String country, String variant) { |
return new Locale(language, country, variant); |