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

Unified Diff: ui/aura/window.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/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index beb12cfd7219ccd57cd296849754b7f724b27760..eef013cf7d26c88f20afbce674ebcb3d8954123e 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -628,7 +628,7 @@ void Window::OnDeviceScaleFactorChanged(float device_scale_factor) {
#ifndef NDEBUG
std::string Window::GetDebugInfo() const {
- return StringPrintf(
+ return base::StringPrintf(
"%s<%d> bounds(%d, %d, %d, %d) %s %s opacity=%.1f",
name().empty() ? "Unknown" : name().c_str(), id(),
bounds().x(), bounds().y(), bounds().width(), bounds().height(),

Powered by Google App Engine
This is Rietveld 408576698