Commit 929378a0 authored by nduca's avatar nduca Committed by Commit bot

Add source frame number to LayerTreeImpl::AsValueInto

Will help work around https://code.google.com/p/trace-viewer/issues/detail?id=587

R=enne

Review URL: https://codereview.chromium.org/495423003

Cr-Commit-Position: refs/heads/master@{#291573}
parent 642ba6c8
......@@ -819,6 +819,7 @@ AnimationRegistrar* LayerTreeImpl::animationRegistrar() const {
void LayerTreeImpl::AsValueInto(base::debug::TracedValue* state) const {
TracedValue::MakeDictIntoImplicitSnapshot(state, "cc::LayerTreeImpl", this);
state->SetInteger("source_frame_number", source_frame_number_);
state->BeginDictionary("root_layer");
root_layer_->AsValueInto(state);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment