Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h

Issue 2513363002: Remove WTF_ATTRIBUTE_PRINTF. (Closed)
Patch Set: Remove comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698