Index: cc/playback/clip_display_item.h |
diff --git a/cc/playback/clip_display_item.h b/cc/playback/clip_display_item.h |
index 83e0b6bf21a359c74c30f4a9c3c41aa193ae591e..320ea3184804b78422c940083f27c4936fe3646f 100644 |
--- a/cc/playback/clip_display_item.h |
+++ b/cc/playback/clip_display_item.h |
@@ -25,6 +25,8 @@ class CC_EXPORT ClipDisplayItem : public DisplayItem { |
void SetNew(gfx::Rect clip_rect, |
const std::vector<SkRRect>& rounded_clip_rects); |
+ 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; |
@@ -40,6 +42,8 @@ class CC_EXPORT EndClipDisplayItem : public DisplayItem { |
EndClipDisplayItem(); |
~EndClipDisplayItem() override; |
+ 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; |