Index: cc/playback/clip_path_display_item.h |
diff --git a/cc/playback/clip_path_display_item.h b/cc/playback/clip_path_display_item.h |
index f736b02314845aeeab674221369bc4d54adb1144..3cb6dc8609b3018bc66bf8198b2879057d05a038 100644 |
--- a/cc/playback/clip_path_display_item.h |
+++ b/cc/playback/clip_path_display_item.h |
@@ -25,8 +25,6 @@ class CC_EXPORT ClipPathDisplayItem : 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 { |
// The size of SkPath's external storage is not currently accounted for (and |
@@ -35,6 +33,8 @@ class CC_EXPORT ClipPathDisplayItem : public DisplayItem { |
} |
int ApproximateOpCount() const { return 1; } |
+ const SkPath& clip_path() const { return clip_path_; } |
+ |
private: |
void SetNew(const SkPath& path, bool antialias); |
@@ -53,8 +53,6 @@ class CC_EXPORT EndClipPathDisplayItem : 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; } |
}; |