| Index: cc/resources/clip_path_display_item.h
|
| diff --git a/cc/resources/clip_path_display_item.h b/cc/resources/clip_path_display_item.h
|
| index a3f8e0d074c7ff7e89ef8b97dd506c0fa4b6fa1d..bf2670e87d46bec4ff6bb31dd967b9b689119a5d 100644
|
| --- a/cc/resources/clip_path_display_item.h
|
| +++ b/cc/resources/clip_path_display_item.h
|
| @@ -18,13 +18,10 @@ namespace cc {
|
|
|
| class CC_EXPORT ClipPathDisplayItem : public DisplayItem {
|
| public:
|
| + ClipPathDisplayItem();
|
| ~ClipPathDisplayItem() override;
|
|
|
| - static scoped_ptr<ClipPathDisplayItem> Create(const SkPath& path,
|
| - SkRegion::Op clip_op,
|
| - bool antialias) {
|
| - return make_scoped_ptr(new ClipPathDisplayItem(path, clip_op, antialias));
|
| - }
|
| + void SetNew(const SkPath& path, SkRegion::Op clip_op, bool antialias);
|
|
|
| void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
|
|
|
| @@ -44,6 +41,7 @@ class CC_EXPORT ClipPathDisplayItem : public DisplayItem {
|
|
|
| class CC_EXPORT EndClipPathDisplayItem : public DisplayItem {
|
| public:
|
| + EndClipPathDisplayItem();
|
| ~EndClipPathDisplayItem() override;
|
|
|
| static scoped_ptr<EndClipPathDisplayItem> Create() {
|
| @@ -56,9 +54,6 @@ class CC_EXPORT EndClipPathDisplayItem : public DisplayItem {
|
| int ApproximateOpCount() const override;
|
| size_t PictureMemoryUsage() const override;
|
| void AsValueInto(base::trace_event::TracedValue* array) const override;
|
| -
|
| - protected:
|
| - EndClipPathDisplayItem();
|
| };
|
|
|
| } // namespace cc
|
|
|