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 f946c14713402593372e494d83b7959407c54fab..5bbb1f16df36ed7ba06e0719dcf4e262dbd6b95e 100644 |
--- a/cc/playback/clip_path_display_item.h |
+++ b/cc/playback/clip_path_display_item.h |
@@ -7,7 +7,9 @@ |
#include <stddef.h> |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
+ |
+#include "base/memory/ptr_util.h" |
#include "cc/base/cc_export.h" |
#include "cc/playback/display_item.h" |
#include "third_party/skia/include/core/SkPath.h" |
@@ -51,8 +53,8 @@ class CC_EXPORT EndClipPathDisplayItem : public DisplayItem { |
explicit EndClipPathDisplayItem(const proto::DisplayItem& proto); |
~EndClipPathDisplayItem() override; |
- static scoped_ptr<EndClipPathDisplayItem> Create() { |
- return make_scoped_ptr(new EndClipPathDisplayItem()); |
+ static std::unique_ptr<EndClipPathDisplayItem> Create() { |
+ return base::WrapUnique(new EndClipPathDisplayItem()); |
} |
void ToProtobuf(proto::DisplayItem* proto, |