| Index: cc/playback/clip_display_item.h
|
| diff --git a/cc/playback/clip_display_item.h b/cc/playback/clip_display_item.h
|
| index 8ab86aeeaeb634ad0ffa382d9a50d08076fa09b2..5830f96ada188f3e0f24b15f00aa269b8764c9e0 100644
|
| --- a/cc/playback/clip_display_item.h
|
| +++ b/cc/playback/clip_display_item.h
|
| @@ -28,14 +28,17 @@ class CC_EXPORT ClipDisplayItem : public DisplayItem {
|
|
|
| void Raster(SkCanvas* canvas,
|
| SkPicture::AbortCallback* callback) const override;
|
| - void AsValueInto(const gfx::Rect& visual_rect,
|
| - base::trace_event::TracedValue* array) const override;
|
|
|
| size_t ExternalMemoryUsage() const {
|
| return rounded_clip_rects_.capacity() * sizeof(rounded_clip_rects_[0]);
|
| }
|
| int ApproximateOpCount() const { return 1; }
|
|
|
| + const gfx::Rect& clip_rect() const { return clip_rect_; }
|
| + const std::vector<SkRRect>& rounded_clip_rects() const {
|
| + return rounded_clip_rects_;
|
| + }
|
| +
|
| private:
|
| void SetNew(const gfx::Rect& clip_rect,
|
| const std::vector<SkRRect>& rounded_clip_rects,
|
| @@ -53,8 +56,6 @@ class CC_EXPORT EndClipDisplayItem : public DisplayItem {
|
|
|
| void Raster(SkCanvas* canvas,
|
| SkPicture::AbortCallback* callback) const override;
|
| - void AsValueInto(const gfx::Rect& visual_rect,
|
| - base::trace_event::TracedValue* array) const override;
|
|
|
| int ApproximateOpCount() const { return 0; }
|
| };
|
|
|