| Index: third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp b/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
|
| index c920a7ba8aa2bf88d70ac5469169b86edbba4fda..a797db4e7dc370607acf005575b05334fb74a20e 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
|
| @@ -55,7 +55,7 @@ CompactHTMLToken::CompactHTMLToken(const HTMLToken* token,
|
|
|
| // There is only 1 DOCTYPE token per document, so to avoid increasing the
|
| // size of CompactHTMLToken, we just use the m_attributes vector.
|
| - m_attributes.append(Attribute(
|
| + m_attributes.push_back(Attribute(
|
| attemptStaticStringCreation(token->publicIdentifier(), Likely8Bit),
|
| String(token->systemIdentifier())));
|
| m_doctypeForcesQuirks = token->forceQuirks();
|
| @@ -66,7 +66,7 @@ CompactHTMLToken::CompactHTMLToken(const HTMLToken* token,
|
| case HTMLToken::StartTag:
|
| m_attributes.reserveInitialCapacity(token->attributes().size());
|
| for (const HTMLToken::Attribute& attribute : token->attributes())
|
| - m_attributes.append(
|
| + m_attributes.push_back(
|
| Attribute(attribute.nameAttemptStaticStringCreation(),
|
| attribute.value8BitIfNecessary()));
|
| // Fall through!
|
|
|