summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/resources/drawing_display_item.cc4
-rw-r--r--cc/resources/drawing_display_item.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/cc/resources/drawing_display_item.cc b/cc/resources/drawing_display_item.cc
index a37729f..91ab3fb 100644
--- a/cc/resources/drawing_display_item.cc
+++ b/cc/resources/drawing_display_item.cc
@@ -62,8 +62,4 @@ void DrawingDisplayItem::AsValueInto(
array->EndDictionary();
}
-scoped_ptr<DrawingDisplayItem> DrawingDisplayItem::Clone() {
- return Create(picture_);
-}
-
} // namespace cc
diff --git a/cc/resources/drawing_display_item.h b/cc/resources/drawing_display_item.h
index da302d8..a3eef77 100644
--- a/cc/resources/drawing_display_item.h
+++ b/cc/resources/drawing_display_item.h
@@ -33,8 +33,6 @@ class CC_EXPORT DrawingDisplayItem : public DisplayItem {
size_t PictureMemoryUsage() const override;
void AsValueInto(base::trace_event::TracedValue* array) const override;
- scoped_ptr<DrawingDisplayItem> Clone();
-
protected:
explicit DrawingDisplayItem(skia::RefPtr<SkPicture> picture);