| Index: cc/resources/transform_display_item.cc
|
| diff --git a/cc/resources/transform_display_item.cc b/cc/resources/transform_display_item.cc
|
| index c7f4d605402ed9f1f6ddaadcca75a6237759d7b0..7ab24219e69ab8d848789664e54f11d2421fb021 100644
|
| --- a/cc/resources/transform_display_item.cc
|
| +++ b/cc/resources/transform_display_item.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "cc/resources/transform_display_item.h"
|
|
|
| +#include "base/strings/stringprintf.h"
|
| +#include "base/trace_event/trace_event_argument.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
|
|
| namespace cc {
|
| @@ -34,6 +36,11 @@ size_t TransformDisplayItem::PictureMemoryUsage() const {
|
| return sizeof(gfx::Transform);
|
| }
|
|
|
| +void TransformDisplayItem::AsValueInto(base::debug::TracedValue* array) const {
|
| + array->AppendString(base::StringPrintf("TransformDisplayItem transform: [%s]",
|
| + transform_.ToString().c_str()));
|
| +}
|
| +
|
| EndTransformDisplayItem::EndTransformDisplayItem() {
|
| }
|
|
|
| @@ -57,4 +64,9 @@ size_t EndTransformDisplayItem::PictureMemoryUsage() const {
|
| return 0;
|
| }
|
|
|
| +void EndTransformDisplayItem::AsValueInto(
|
| + base::debug::TracedValue* array) const {
|
| + array->AppendString("EndTransformDisplayItem");
|
| +}
|
| +
|
| } // namespace cc
|
|
|