| 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);
|
|
|