summaryrefslogtreecommitdiff
path: root/chromium/ui/events/gestures/gesture_provider_aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/events/gestures/gesture_provider_aura.cc')
-rw-r--r--chromium/ui/events/gestures/gesture_provider_aura.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/ui/events/gestures/gesture_provider_aura.cc b/chromium/ui/events/gestures/gesture_provider_aura.cc
index 0efa57213c6..943230a5e03 100644
--- a/chromium/ui/events/gestures/gesture_provider_aura.cc
+++ b/chromium/ui/events/gestures/gesture_provider_aura.cc
@@ -39,7 +39,9 @@ GestureProviderAura::GestureProviderAura(GestureConsumer* consumer,
kDoubleTapPlatformSupport);
}
-GestureProviderAura::~GestureProviderAura() {}
+GestureProviderAura::~GestureProviderAura() {
+ client_->OnGestureProviderAuraWillBeDestroyed(this);
+}
bool GestureProviderAura::OnTouchEvent(TouchEvent* event) {
if (!pointer_state_.OnTouch(*event))
@@ -114,4 +116,4 @@ void GestureProviderAura::OnTouchEnter(int pointer_id, float x, float y) {
false /* is_source_touch_event_set_blocking */);
}
-} // namespace content
+} // namespace ui