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

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 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: third_party/WebKit/Source/core/html/HTMLElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
index 09c5d06855a4ac4bdef93d8668ff39d5ca760ff2..fe76006cd94cf0ec17f360a09748bd88d9c57a47 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -166,7 +166,7 @@ void HTMLElement::mapLanguageAttributeToLocale(const AtomicString& value, Mutabl
UseCounter::count(document(), UseCounter::LangAttributeOnHTML);
else if (isHTMLBodyElement(*this))
UseCounter::count(document(), UseCounter::LangAttributeOnBody);
- String htmlLanguage = value.string();
+ String htmlLanguage = value.getString();
size_t firstSeparator = htmlLanguage.find('-');
if (firstSeparator != kNotFound)
htmlLanguage = htmlLanguage.left(firstSeparator);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAreaElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698