Index: ui/events/gesture_detection/motion_event.cc |
diff --git a/ui/events/gesture_detection/motion_event.cc b/ui/events/gesture_detection/motion_event.cc |
index 1d8f7c5269adef6323a4532a277be13741886866..07ee9e125f212e2496755bb1ebe604f573784673 100644 |
--- a/ui/events/gesture_detection/motion_event.cc |
+++ b/ui/events/gesture_detection/motion_event.cc |
@@ -51,11 +51,11 @@ int MotionEvent::GetSourceDeviceId(size_t pointer_index) const { |
return 0; |
} |
-scoped_ptr<MotionEvent> MotionEvent::Clone() const { |
+std::unique_ptr<MotionEvent> MotionEvent::Clone() const { |
return MotionEventGeneric::CloneEvent(*this); |
} |
-scoped_ptr<MotionEvent> MotionEvent::Cancel() const { |
+std::unique_ptr<MotionEvent> MotionEvent::Cancel() const { |
return MotionEventGeneric::CancelEvent(*this); |
} |