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

Unified Diff: ui/aura/root_window_host_linux.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/aura/root_window_host_linux.cc
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc
index 22c8ada5e14afad5e2d444c233b578fb42c23f34..a32b25c9c4edc9beeb1224c58e6ddba6dc49ab7d 100644
--- a/ui/aura/root_window_host_linux.cc
+++ b/ui/aura/root_window_host_linux.cc
@@ -329,7 +329,7 @@ RootWindowHostLinux::RootWindowHostLinux(const gfx::Rect& bounds)
// window to broadcast.
// TODO(jhorwich) Remove this once Chrome supports window-based broadcasting.
static int root_window_number = 0;
- std::string name = StringPrintf("aura_root_%d", root_window_number++);
+ std::string name = base::StringPrintf("aura_root_%d", root_window_number++);
XStoreName(xdisplay_, xwindow_, name.c_str());
XRRSelectInput(xdisplay_, x_root_window_,
RRScreenChangeNotifyMask | RROutputChangeNotifyMask);

Powered by Google App Engine
This is Rietveld 408576698