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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12258044: cc: Add PictureLayerImpl::AsValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Size as value Created 7 years, 10 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
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 397a2d3d4ead2ec69294c7544f6fa8cdb441043a..7d1d1bc8225c91dd41bc52e724f002cc24634783 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -1736,6 +1736,7 @@ scoped_ptr<base::Value> LayerTreeHostImpl::frameStateAsValue() const
state->Set("device_viewport_size", MathUtil::asValue(m_deviceViewportSize).release());
if (m_tileManager)
state->Set("tiles", m_tileManager->AllTilesAsValue().release());
+ state->Set("active_tree", activeTree()->AsValue().release());
return state.PassAs<base::Value>();
}
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698