Index: ui/events/gesture_detection/motion_event_buffer_unittest.cc |
diff --git a/ui/events/gesture_detection/motion_event_buffer_unittest.cc b/ui/events/gesture_detection/motion_event_buffer_unittest.cc |
index badbd9883f460155fcac2c355bc721d14e8e24ae..0b77dfe50836ab5d0a3ffa1d84abc4f454b3b331 100644 |
--- a/ui/events/gesture_detection/motion_event_buffer_unittest.cc |
+++ b/ui/events/gesture_detection/motion_event_buffer_unittest.cc |
@@ -41,14 +41,14 @@ class MotionEventBufferTest : public testing::Test, |
public MotionEventBufferClient { |
public: |
MotionEventBufferTest() : needs_flush_(false) {} |
- virtual ~MotionEventBufferTest() {} |
+ ~MotionEventBufferTest() override {} |
// MotionEventBufferClient implementation. |
- virtual void ForwardMotionEvent(const MotionEvent& event) override { |
+ void ForwardMotionEvent(const MotionEvent& event) override { |
forwarded_events_.push_back(event.Clone().release()); |
} |
- virtual void SetNeedsFlush() override { needs_flush_ = true; } |
+ void SetNeedsFlush() override { needs_flush_ = true; } |
bool GetAndResetNeedsFlush() { |
bool needs_flush = needs_flush_; |