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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFString.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/PrintStream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/WTFString.h
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h
index c2b55e4b312ec04c18ca580a3b9381824bf0a2ac..7460ac18cfe83a0f960a9c98ada72ba51fb29ae9 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.h
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h
@@ -27,6 +27,7 @@
// on systems without case-sensitive file systems.
#include "wtf/Allocator.h"
+#include "wtf/Compiler.h"
#include "wtf/HashTableDeletedValueType.h"
#include "wtf/WTFExport.h"
#include "wtf/text/ASCIIFastPath.h"
@@ -305,7 +306,7 @@ class WTF_EXPORT String {
// Return the string with case folded for case insensitive comparison.
String foldCase() const;
- static String format(const char*, ...) WTF_ATTRIBUTE_PRINTF(1, 2);
+ PRINTF_FORMAT(1, 2) static String format(const char*, ...);
// Returns an uninitialized string. The characters needs to be written
// into the buffer returned in data before the returned string is used.
« no previous file with comments | « third_party/WebKit/Source/wtf/PrintStream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698