Index: ui/events/gestures/gesture_provider_aura.cc |
diff --git a/ui/events/gestures/gesture_provider_aura.cc b/ui/events/gestures/gesture_provider_aura.cc |
index bca63f23191089f291ef720c055c805ddfcecd0d..b491a2f0b85023e85765cd299c921f553e247101 100644 |
--- a/ui/events/gestures/gesture_provider_aura.cc |
+++ b/ui/events/gestures/gesture_provider_aura.cc |
@@ -76,7 +76,7 @@ void GestureProviderAura::OnGestureEvent( |
client_->OnGestureEvent(event.get()); |
} else { |
// Memory managed by ScopedVector pending_gestures_. |
- pending_gestures_.push_back(event.release()); |
+ pending_gestures_.push_back(event.Pass()); |
} |
} |