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

Unified Diff: webkit/fileapi/obfuscated_file_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: webkit/fileapi/obfuscated_file_util.cc
diff --git a/webkit/fileapi/obfuscated_file_util.cc b/webkit/fileapi/obfuscated_file_util.cc
index 7031172ed9b22dad274c8bb7e4c837e51def0662..6f9a900528c7903a9e161b42cac67553d80c81b5 100644
--- a/webkit/fileapi/obfuscated_file_util.cc
+++ b/webkit/fileapi/obfuscated_file_util.cc
@@ -1323,14 +1323,15 @@ PlatformFileError ObfuscatedFileUtil::GenerateNewLocalPath(
// We use the third- and fourth-to-last digits as the directory.
int64 directory_number = number % 10000 / 100;
new_local_path = new_local_path.AppendASCII(
- StringPrintf("%02" PRId64, directory_number));
+ base::StringPrintf("%02" PRId64, directory_number));
error = NativeFileUtil::CreateDirectory(
new_local_path, false /* exclusive */, false /* recursive */);
if (error != base::PLATFORM_FILE_OK)
return error;
- *local_path = new_local_path.AppendASCII(StringPrintf("%08" PRId64, number));
+ *local_path =
+ new_local_path.AppendASCII(base::StringPrintf("%08" PRId64, number));
return base::PLATFORM_FILE_OK;
}

Powered by Google App Engine
This is Rietveld 408576698