Index: cc/quads/shared_quad_state.cc |
diff --git a/cc/quads/shared_quad_state.cc b/cc/quads/shared_quad_state.cc |
index 83df3657def0a1820c1b09d23d93a73130b63721..e13a1222f6de8654fb7a93a1e97986aaf6247045 100644 |
--- a/cc/quads/shared_quad_state.cc |
+++ b/cc/quads/shared_quad_state.cc |
@@ -47,23 +47,14 @@ void SharedQuadState::SetAll(const gfx::Transform& content_to_target_transform, |
} |
void SharedQuadState::AsValueInto(base::debug::TracedValue* value) const { |
- value->BeginArray("transform"); |
- MathUtil::AddToTracedValue(content_to_target_transform, value); |
- value->EndArray(); |
- |
- value->BeginDictionary("layer_content_bounds"); |
- MathUtil::AddToTracedValue(content_bounds, value); |
- value->EndDictionary(); |
- |
- value->BeginArray("layer_visible_content_rect"); |
- MathUtil::AddToTracedValue(visible_content_rect, value); |
- value->EndArray(); |
+ MathUtil::AddToTracedValue("transform", content_to_target_transform, value); |
+ MathUtil::AddToTracedValue("layer_content_bounds", content_bounds, value); |
+ MathUtil::AddToTracedValue("layer_visible_content_rect", visible_content_rect, |
+ value); |
value->SetBoolean("is_clipped", is_clipped); |
- value->BeginArray("clip_rect"); |
- MathUtil::AddToTracedValue(clip_rect, value); |
- value->EndArray(); |
+ MathUtil::AddToTracedValue("clip_rect", clip_rect, value); |
value->SetDouble("opacity", opacity); |
value->SetString("blend_mode", SkXfermode::ModeName(blend_mode)); |