| Index: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h
|
| diff --git a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h
|
| index c38509e190d83e48c150522021912264bb21d200..a665c6e9c872439ea9fda1a830b878c69616d940 100644
|
| --- a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h
|
| +++ b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h
|
| @@ -33,6 +33,7 @@
|
| #include "core/xml/parser/XMLErrors.h"
|
| #include "platform/heap/Handle.h"
|
| #include "platform/text/SegmentedString.h"
|
| +#include "wtf/Compiler.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/text/CString.h"
|
| @@ -139,8 +140,8 @@ class XMLDocumentParser final : public ScriptableDocumentParser,
|
|
|
| public:
|
| // Callbacks from parser SAX
|
| - void error(XMLErrors::ErrorType, const char* message, va_list args)
|
| - WTF_ATTRIBUTE_PRINTF(3, 0);
|
| + PRINTF_FORMAT(3, 0)
|
| + void error(XMLErrors::ErrorType, const char* message, va_list args);
|
| void startElementNs(const AtomicString& localName,
|
| const AtomicString& prefix,
|
| const AtomicString& uri,
|
|
|