| Index: third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| index 2c7cfc159dcf827c7e3855fef9d0993cb7e845e2..075afe8680b6cde3e4972daa0ce00a0a54157d38 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| @@ -139,7 +139,7 @@ static bool hasName(const HTMLToken& token, const QualifiedName& name)
|
| static bool findAttributeWithName(const HTMLToken& token, const QualifiedName& name, size_t& indexOfMatchingAttribute)
|
| {
|
| // Notice that we're careful not to ref the StringImpl here because we might be on a background thread.
|
| - const String& attrName = name.namespaceURI() == XLinkNames::xlinkNamespaceURI ? "xlink:" + name.localName().string() : name.localName().string();
|
| + const String& attrName = name.namespaceURI() == XLinkNames::xlinkNamespaceURI ? "xlink:" + name.localName().getString() : name.localName().getString();
|
|
|
| for (size_t i = 0; i < token.attributes().size(); ++i) {
|
| if (equalIgnoringNullity(token.attributes().at(i).nameAsVector(), attrName)) {
|
|
|