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

Unified Diff: remoting/base/util.cc

Issue 12767006: [Cleanup] Remove StringPrintf from global namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, once more Created 7 years, 9 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
Index: remoting/base/util.cc
diff --git a/remoting/base/util.cc b/remoting/base/util.cc
index 31dda25844b4095ceb11ac9d27b6c767d40b558f..58734229aa733d83c430291913bd389dc9564ddf 100644
--- a/remoting/base/util.cc
+++ b/remoting/base/util.cc
@@ -25,9 +25,9 @@ std::string GetTimestampString() {
base::Time t = base::Time::NowFromSystemTime();
base::Time::Exploded tex;
t.LocalExplode(&tex);
- return StringPrintf("%02d%02d/%02d%02d%02d:",
- tex.month, tex.day_of_month,
- tex.hour, tex.minute, tex.second);
+ return base::StringPrintf("%02d%02d/%02d%02d%02d:",
+ tex.month, tex.day_of_month,
+ tex.hour, tex.minute, tex.second);
}
int CalculateRGBOffset(int x, int y, int stride) {

Powered by Google App Engine
This is Rietveld 408576698