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

Unified Diff: third_party/WebKit/Source/wtf/PrintStream.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 | « third_party/WebKit/Source/wtf/FilePrintStream.h ('k') | third_party/WebKit/Source/wtf/text/WTFString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/PrintStream.h
diff --git a/third_party/WebKit/Source/wtf/PrintStream.h b/third_party/WebKit/Source/wtf/PrintStream.h
index 758cf763a0f35fb8fcd96ee64919a8a6a4a2dbb4..fc30724cf61983ed0314c3b12ff48ac508d671a9 100644
--- a/third_party/WebKit/Source/wtf/PrintStream.h
+++ b/third_party/WebKit/Source/wtf/PrintStream.h
@@ -27,6 +27,7 @@
#define PrintStream_h
#include "wtf/Allocator.h"
+#include "wtf/Compiler.h"
#include "wtf/Noncopyable.h"
#include "wtf/StdLibExtras.h"
#include "wtf/WTFExport.h"
@@ -45,9 +46,8 @@ class WTF_EXPORT PrintStream {
PrintStream();
virtual ~PrintStream();
- void printf(const char* format, ...) WTF_ATTRIBUTE_PRINTF(2, 3);
- virtual void vprintf(const char* format, va_list)
- WTF_ATTRIBUTE_PRINTF(2, 0) = 0;
+ PRINTF_FORMAT(2, 3) void printf(const char* format, ...);
+ PRINTF_FORMAT(2, 0) virtual void vprintf(const char* format, va_list) = 0;
// Typically a no-op for many subclasses of PrintStream, this is a hint that
// the implementation should flush its buffers if it had not done so already.
« no previous file with comments | « third_party/WebKit/Source/wtf/FilePrintStream.h ('k') | third_party/WebKit/Source/wtf/text/WTFString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698