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

Unified Diff: Source/platform/Language.h

Issue 108313015: Make calls to AtomicString(const String&) explicit in html/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 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: Source/platform/Language.h
diff --git a/Source/platform/Language.h b/Source/platform/Language.h
index 65c12bfc2f7229184ad7e54d50bebc21144e7dca..62d90dea75fddd21e9916081bf489f4b0dc4f7a6 100644
--- a/Source/platform/Language.h
+++ b/Source/platform/Language.h
@@ -32,11 +32,11 @@
namespace WebCore {
-PLATFORM_EXPORT String defaultLanguage();
-PLATFORM_EXPORT Vector<String> userPreferredLanguages();
-PLATFORM_EXPORT Vector<String> userPreferredLanguagesOverride();
-PLATFORM_EXPORT void overrideUserPreferredLanguages(const Vector<String>&);
-PLATFORM_EXPORT size_t indexOfBestMatchingLanguageInList(const String& language, const Vector<String>& languageList);
+PLATFORM_EXPORT AtomicString defaultLanguage();
+PLATFORM_EXPORT Vector<AtomicString> userPreferredLanguages();
+PLATFORM_EXPORT Vector<AtomicString> userPreferredLanguagesOverride();
+PLATFORM_EXPORT void overrideUserPreferredLanguages(const Vector<AtomicString>&);
+PLATFORM_EXPORT size_t indexOfBestMatchingLanguageInList(const AtomicString& language, const Vector<AtomicString>& languageList);
}

Powered by Google App Engine
This is Rietveld 408576698