Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1360)

Unified Diff: android_webview/native/aw_contents.cc

Issue 2406203002: Use BCP47 compliant format for locale representation (Closed)
Patch Set: BCP 47, change in description Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 89f611bed691396c51ee51c1d0bb603cd06e0340..afd0eaf89a9e95744361c13f265af65966744c72 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -268,7 +268,7 @@ void AwContents::InitAutofillIfNecessary(bool enabled) {
AwAutofillClient::CreateForWebContents(web_contents);
ContentAutofillDriverFactory::CreateForWebContentsAndDelegate(
web_contents, AwAutofillClient::FromWebContents(web_contents),
- base::android::GetDefaultLocale(),
+ base::android::GetDefaultLocaleString(),
AutofillManager::DISABLE_AUTOFILL_DOWNLOAD_MANAGER);
}
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/AcceptLanguageTest.java ('k') | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698