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

Unified Diff: cc/trees/layer_tree_host_impl.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: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index d3079d2d7946b5bc18972c460c32e9a32ad0c619..990c32b00f24aaa7b901f15958bd4fb5ac356586 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1909,7 +1909,7 @@ scoped_ptr<base::Value> LayerTreeHostImpl::AsValue() const {
scoped_ptr<base::Value> LayerTreeHostImpl::ActivationStateAsValue() const {
scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue());
- state->SetString("lthi_id", StringPrintf("%p", this));
+ state->SetString("lthi_id", base::StringPrintf("%p", this));
state->SetBoolean("visible_resources_ready",
pending_tree_->AreVisibleResourcesReady());
state->Set("tile_manager", tile_manager_->BasicStateAsValue().release());
@@ -1918,7 +1918,7 @@ scoped_ptr<base::Value> LayerTreeHostImpl::ActivationStateAsValue() const {
scoped_ptr<base::Value> LayerTreeHostImpl::FrameStateAsValue() const {
scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue());
- state->SetString("lthi_id", StringPrintf("%p", this));
+ state->SetString("lthi_id", base::StringPrintf("%p", this));
state->Set("device_viewport_size",
MathUtil::AsValue(device_viewport_size_).release());
if (tile_manager_)

Powered by Google App Engine
This is Rietveld 408576698