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

Unified Diff: cc/layers/layer_impl.cc

Issue 568183002: cc: Add some useful layer data to traces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 1af7727bbc02cd8287440d3fb2c581c4b6560ec8..5b39eb0e36262c2299be2fd73522def8ab8c897c 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -1415,6 +1415,8 @@ void LayerImpl::AsValueInto(base::debug::TracedValue* state) const {
MathUtil::AddToTracedValue(bounds_, state);
state->EndDictionary();
+ state->SetDouble("opacity", opacity());
+
state->BeginArray("position");
MathUtil::AddToTracedValue(position_, state);
state->EndArray();
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698