| Index: cc/resources/clip_path_display_item.cc
|
| diff --git a/cc/resources/clip_path_display_item.cc b/cc/resources/clip_path_display_item.cc
|
| index 4012124cd0efdf3533baba5d5380958d267ebe1f..1600e5511048b0790964763575dd6fc4e1ac0552 100644
|
| --- a/cc/resources/clip_path_display_item.cc
|
| +++ b/cc/resources/clip_path_display_item.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "cc/resources/clip_path_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 {
|
| @@ -36,6 +38,11 @@ size_t ClipPathDisplayItem::PictureMemoryUsage() const {
|
| return total_size;
|
| }
|
|
|
| +void ClipPathDisplayItem::AsValueInto(base::debug::TracedValue* array) const {
|
| + array->AppendString(base::StringPrintf("ClipPathDisplayItem length: %d",
|
| + clip_path_.countPoints()));
|
| +}
|
| +
|
| EndClipPathDisplayItem::EndClipPathDisplayItem() {
|
| }
|
|
|
| @@ -59,4 +66,9 @@ size_t EndClipPathDisplayItem::PictureMemoryUsage() const {
|
| return 0;
|
| }
|
|
|
| +void EndClipPathDisplayItem::AsValueInto(
|
| + base::debug::TracedValue* array) const {
|
| + array->AppendString("EndClipPathDisplayItem");
|
| +}
|
| +
|
| } // namespace cc
|
|
|