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

Unified Diff: third_party/WebKit/Source/wtf/PrintStream.h

Issue 2513363002: Remove WTF_ATTRIBUTE_PRINTF. (Closed)
Patch Set: 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
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..1596b369278c75a74879953f452357e16dcdfc99 100644
--- a/third_party/WebKit/Source/wtf/PrintStream.h
+++ b/third_party/WebKit/Source/wtf/PrintStream.h
@@ -45,9 +45,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.

Powered by Google App Engine
This is Rietveld 408576698