| 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 41d9acebfa7232432f18e999e3ebfce17401490a..f4614010a130e98b307ec184846decc7818f00a3 100644
|
| --- a/cc/playback/float_clip_display_item.h
|
| +++ b/cc/playback/float_clip_display_item.h
|
| @@ -7,9 +7,10 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <vector>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/playback/display_item.h"
|
| #include "ui/gfx/geometry/rect_f.h"
|
| @@ -50,8 +51,8 @@ class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem {
|
| explicit EndFloatClipDisplayItem(const proto::DisplayItem& proto);
|
| ~EndFloatClipDisplayItem() override;
|
|
|
| - static scoped_ptr<EndFloatClipDisplayItem> Create() {
|
| - return make_scoped_ptr(new EndFloatClipDisplayItem());
|
| + static std::unique_ptr<EndFloatClipDisplayItem> Create() {
|
| + return base::WrapUnique(new EndFloatClipDisplayItem());
|
| }
|
|
|
| void ToProtobuf(proto::DisplayItem* proto,
|
|
|