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 732087b978932a90249008f3c6bffd887c24d016..6e4253909905e0a8b10bdec8d207892eed38132e 100644 |
--- a/cc/playback/clip_path_display_item.h |
+++ b/cc/playback/clip_path_display_item.h |
@@ -22,6 +22,8 @@ class CC_EXPORT ClipPathDisplayItem : public DisplayItem { |
void SetNew(const SkPath& path, SkRegion::Op clip_op, bool antialias); |
+ void ToProtobuf(proto::DisplayItem* proto) const override; |
+ void FromProtobuf(const proto::DisplayItem& proto) override; |
void Raster(SkCanvas* canvas, |
const gfx::Rect& canvas_target_playback_rect, |
SkPicture::AbortCallback* callback) const override; |
@@ -42,6 +44,8 @@ class CC_EXPORT EndClipPathDisplayItem : public DisplayItem { |
return make_scoped_ptr(new EndClipPathDisplayItem()); |
} |
+ void ToProtobuf(proto::DisplayItem* proto) const override; |
+ void FromProtobuf(const proto::DisplayItem& proto) override; |
void Raster(SkCanvas* canvas, |
const gfx::Rect& canvas_target_playback_rect, |
SkPicture::AbortCallback* callback) const override; |