| Index: ui/events/gesture_detection/motion_event_generic.cc
|
| diff --git a/ui/events/gesture_detection/motion_event_generic.cc b/ui/events/gesture_detection/motion_event_generic.cc
|
| index 19262aa6e95dcc411beab127d95fd1d069bbd84a..2f2c34b11c5688bcf1c1cc3922e9f14198322ea1 100644
|
| --- a/ui/events/gesture_detection/motion_event_generic.cc
|
| +++ b/ui/events/gesture_detection/motion_event_generic.cc
|
| @@ -217,7 +217,7 @@ void MotionEventGeneric::PushHistoricalEvent(scoped_ptr<MotionEvent> event) {
|
| DCHECK_EQ(event->GetAction(), GetAction());
|
| DCHECK_LE(event->GetEventTime().ToInternalValue(),
|
| GetEventTime().ToInternalValue());
|
| - historical_events_.push_back(event.release());
|
| + historical_events_.push_back(event.Pass());
|
| }
|
|
|
| MotionEventGeneric::MotionEventGeneric()
|
|
|