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

Unified Diff: ash/display/display_manager.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: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index 257e62b6215eeabf55a5ec8e9a779287cfbe1699..ad92a5e86ef6da41f77367d16b5be392603aaeaf 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -526,7 +526,8 @@ void DisplayManager::CycleDisplayImpl() {
gfx::Rect host_bounds =
gfx::Rect(primary->GetHostOrigin(), primary->GetHostSize());
new_display_info_list.push_back(DisplayInfo::CreateFromSpec(
- StringPrintf("%d+%d-500x400", host_bounds.x(), host_bounds.bottom())));
+ base::StringPrintf(
+ "%d+%d-500x400", host_bounds.x(), host_bounds.bottom())));
}
UpdateDisplays(new_display_info_list);
}

Powered by Google App Engine
This is Rietveld 408576698