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

Unified Diff: cc/trees/transform_node.cc

Issue 2340663002: Add scroll_offset and scroll_snap to transform_node's traced value (Closed)
Patch Set: Created 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/transform_node.cc
diff --git a/cc/trees/transform_node.cc b/cc/trees/transform_node.cc
index 34dd9af559fc1794c303f866f99005321c2581dd..dd62aa88532398b461d5e544e8ed899dcce225f4 100644
--- a/cc/trees/transform_node.cc
+++ b/cc/trees/transform_node.cc
@@ -231,6 +231,8 @@ void TransformNode::AsValueInto(base::trace_event::TracedValue* value) const {
value->SetInteger("content_target_id", 0);
value->SetInteger("source_node_id", source_node_id);
value->SetInteger("sorting_context_id", sorting_context_id);
+ MathUtil::AddToTracedValue("scroll_offset", scroll_offset, value);
+ MathUtil::AddToTracedValue("scroll_snap", scroll_snap, value);
}
TransformCachedNodeData::TransformCachedNodeData()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698