| Index: ui/touch_selection/touch_handle_unittest.cc
|
| diff --git a/ui/touch_selection/touch_handle_unittest.cc b/ui/touch_selection/touch_handle_unittest.cc
|
| index 6f04b209fe27b38c1e906daf805080ce08434bc3..f4d6459a5e278a47e23eae9555561eaf38d84401 100644
|
| --- a/ui/touch_selection/touch_handle_unittest.cc
|
| +++ b/ui/touch_selection/touch_handle_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "ui/touch_selection/touch_handle.h"
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/events/test/motion_event_test_utils.h"
|
| #include "ui/gfx/geometry/rect_f.h"
|
| @@ -107,8 +108,8 @@ class TouchHandleTest : public testing::Test, public TouchHandleClient {
|
|
|
| void SetNeedsAnimate() override { needs_animate_ = true; }
|
|
|
| - scoped_ptr<TouchHandleDrawable> CreateDrawable() override {
|
| - return make_scoped_ptr(new MockTouchHandleDrawable(&drawable_data_));
|
| + std::unique_ptr<TouchHandleDrawable> CreateDrawable() override {
|
| + return base::WrapUnique(new MockTouchHandleDrawable(&drawable_data_));
|
| }
|
|
|
| base::TimeDelta GetMaxTapDuration() const override {
|
|
|