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

Unified Diff: ui/message_center/notification_list_unittest.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: ui/message_center/notification_list_unittest.cc
diff --git a/ui/message_center/notification_list_unittest.cc b/ui/message_center/notification_list_unittest.cc
index aa4ab660465bd5bb3ff7a5a778793b486af96ddb..6d4b551108cf5977029ba963630c4596153a70fb 100644
--- a/ui/message_center/notification_list_unittest.cc
+++ b/ui/message_center/notification_list_unittest.cc
@@ -59,8 +59,8 @@ class NotificationListTest : public testing::Test {
std::string new_id = base::StringPrintf(kIdFormat, counter_);
notification_list_->AddNotification(
message_center::NOTIFICATION_TYPE_SIMPLE, new_id,
- UTF8ToUTF16(StringPrintf(kTitleFormat, counter_)),
- UTF8ToUTF16(StringPrintf(kMessageFormat, counter_)),
+ UTF8ToUTF16(base::StringPrintf(kTitleFormat, counter_)),
+ UTF8ToUTF16(base::StringPrintf(kMessageFormat, counter_)),
UTF8ToUTF16(kDisplaySource), kExtensionId,
optional_fields);
counter_++;

Powered by Google App Engine
This is Rietveld 408576698