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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFString.h

Issue 2620453002: Simplify and optimize String::format. (Closed)
Patch Set: docs Created 3 years, 11 months 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/wtf/text/WTFString.cpp » ('j') | 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 0e02b8902dc3e5af8785a9aef81aedd68d50f3db..8f0b2901959fa7d47eff482d654ab7363dfbdddd 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.h
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h
@@ -303,7 +303,8 @@ class WTF_EXPORT String {
// Return the string with case folded for case insensitive comparison.
String foldCase() const;
- PRINTF_FORMAT(1, 2) static String format(const char*, ...);
+ // Takes a printf format and args and prints into a String.
+ PRINTF_FORMAT(1, 2) static String format(const char* format, ...);
// 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 | « no previous file | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698