| Index: third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp b/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
|
| index 30755ef22ce5a1d2ced490dc2ec345e7fdfa10ae..4fcb54a67c04d1710dda78436249291d5e8b9ccf 100644
|
| --- a/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
|
| @@ -102,7 +102,7 @@ static inline Element* createXHTMLParserErrorHeader(
|
| CreatedByParser);
|
|
|
| Vector<Attribute> reportAttributes;
|
| - reportAttributes.append(Attribute(
|
| + reportAttributes.push_back(Attribute(
|
| styleAttr,
|
| "display: block; white-space: pre; border: 2px solid #c77; padding: 0 "
|
| "1em 0 1em; margin: 1em; background-color: #fdd; color: black"));
|
| @@ -115,7 +115,7 @@ static inline Element* createXHTMLParserErrorHeader(
|
|
|
| Element* fixed = doc->createElement(divTag, CreatedByParser);
|
| Vector<Attribute> fixedAttributes;
|
| - fixedAttributes.append(
|
| + fixedAttributes.push_back(
|
| Attribute(styleAttr, "font-family:monospace;font-size:12px"));
|
| fixed->parserSetAttributes(fixedAttributes);
|
| reportElement->parserAppendChild(fixed);
|
| @@ -170,7 +170,7 @@ void XMLErrors::insertErrorMessageBlock() {
|
|
|
| if (DocumentXSLT::hasTransformSourceDocument(*m_document)) {
|
| Vector<Attribute> attributes;
|
| - attributes.append(Attribute(styleAttr, "white-space: normal"));
|
| + attributes.push_back(Attribute(styleAttr, "white-space: normal"));
|
| Element* paragraph = m_document->createElement(pTag, CreatedByParser);
|
| paragraph->parserSetAttributes(attributes);
|
| paragraph->parserAppendChild(m_document->createTextNode(
|
|
|