Index: cc/playback/float_clip_display_item.h |
diff --git a/cc/playback/float_clip_display_item.h b/cc/playback/float_clip_display_item.h |
index 13d637f85a306680ae8a6ce6fa5bd00ed3d0a560..2399935102d1b2ca0ba3c3410d426afc45070a42 100644 |
--- a/cc/playback/float_clip_display_item.h |
+++ b/cc/playback/float_clip_display_item.h |
@@ -23,6 +23,8 @@ class CC_EXPORT FloatClipDisplayItem : public DisplayItem { |
void SetNew(const gfx::RectF& clip_rect); |
+ 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; |
@@ -41,6 +43,8 @@ class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem { |
return make_scoped_ptr(new EndFloatClipDisplayItem()); |
} |
+ 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; |