| Index: ui/events/gesture_detection/motion_event_buffer.cc
|
| diff --git a/ui/events/gesture_detection/motion_event_buffer.cc b/ui/events/gesture_detection/motion_event_buffer.cc
|
| index 11d2df735f2cc96895bad8e96022c2bc352e9398..26fc5ba6ec9c374ca6a8cf47c8286bd93848c521 100644
|
| --- a/ui/events/gesture_detection/motion_event_buffer.cc
|
| +++ b/ui/events/gesture_detection/motion_event_buffer.cc
|
| @@ -162,7 +162,7 @@ scoped_ptr<MotionEvent> ResampleMotionEvent(const MotionEvent& event0,
|
| event->set_action_index(event0.GetActionIndex());
|
| event->set_button_state(event0.GetButtonState());
|
|
|
| - return event.PassAs<MotionEvent>();
|
| + return event.Pass();
|
| }
|
|
|
| // MotionEvent implementation for storing multiple events, with the most
|
|
|