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

Unified Diff: content/test/layout_browsertest.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: content/test/layout_browsertest.cc
diff --git a/content/test/layout_browsertest.cc b/content/test/layout_browsertest.cc
index 0140aff751e7be1130d4e66a16cfe25a29f1a35c..4c34a3815825675976879191d13fe91b34e23c97 100644
--- a/content/test/layout_browsertest.cc
+++ b/content/test/layout_browsertest.cc
@@ -140,7 +140,7 @@ void InProcessBrowserLayoutTest::RunLayoutTest(
void InProcessBrowserLayoutTest::RunHttpLayoutTest(
const std::string& test_case_file_name) {
DCHECK(test_http_server_.get());
- GURL url(StringPrintf(
+ GURL url(base::StringPrintf(
"http://127.0.0.1:%d/%s/%s", port_, test_case_dir_.MaybeAsASCII().c_str(),
test_case_file_name.c_str()));
RunLayoutTestInternal(test_case_file_name, url);
@@ -205,9 +205,9 @@ std::string InProcessBrowserLayoutTest::SaveResults(const std::string& expected,
EXPECT_NE(-1, file_util::WriteFile(actual_filename,
actual.c_str(),
actual.size()));
- return StringPrintf("Wrote %"PRFilePath" %"PRFilePath,
- expected_filename.value().c_str(),
- actual_filename.value().c_str());
+ return base::StringPrintf("Wrote %"PRFilePath" %"PRFilePath,
+ expected_filename.value().c_str(),
+ actual_filename.value().c_str());
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698