Commit c0f5fce4 authored by Zentaro Kavanagh's avatar Zentaro Kavanagh Committed by Commit Bot

Mark classes with final dtors as final

- -Wfinal-dtor-non-final-class warns on classes with final dtors but
  not final classes.
- Error messages are better when the class is marked final.
- Fix existing issues in code base and a follow up will remove warning
  exemption.

Bug: 999886
Test: no errors building
Change-Id: I7ceebe66bc953a0a1211896244fe3bf9e47f1aa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508201
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Auto-Submit: Zentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#822680}
parent 94081101
...@@ -18,7 +18,7 @@ namespace ui { ...@@ -18,7 +18,7 @@ namespace ui {
// Provides filtered gesture detection and dispatch given a sequence of touch // Provides filtered gesture detection and dispatch given a sequence of touch
// events and touch event acks. // events and touch event acks.
class GESTURE_DETECTION_EXPORT FilteredGestureProvider class GESTURE_DETECTION_EXPORT FilteredGestureProvider final
: public ui::TouchDispositionGestureFilterClient, : public ui::TouchDispositionGestureFilterClient,
public ui::GestureProviderClient { public ui::GestureProviderClient {
public: public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment