Index: ui/events/gesture_detection/gesture_provider_unittest.cc |
diff --git a/ui/events/gesture_detection/gesture_provider_unittest.cc b/ui/events/gesture_detection/gesture_provider_unittest.cc |
index e933b7fd2131f48816294ef598052aaaef42ae58..4c4dedd0ec95a0e1614932a60718f299894bc581 100644 |
--- a/ui/events/gesture_detection/gesture_provider_unittest.cc |
+++ b/ui/events/gesture_detection/gesture_provider_unittest.cc |
@@ -58,7 +58,7 @@ gfx::RectF BoundsForSingleMockTouchAtLocation(float x, float y) { |
class GestureProviderTest : public testing::Test, public GestureProviderClient { |
public: |
GestureProviderTest() {} |
- virtual ~GestureProviderTest() {} |
+ ~GestureProviderTest() override {} |
static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, |
MotionEvent::Action action, |
@@ -123,15 +123,15 @@ class GestureProviderTest : public testing::Test, public GestureProviderClient { |
} |
// Test |
- virtual void SetUp() override { SetUpWithConfig(GetDefaultConfig()); } |
+ void SetUp() override { SetUpWithConfig(GetDefaultConfig()); } |
- virtual void TearDown() override { |
+ void TearDown() override { |
gestures_.clear(); |
gesture_provider_.reset(); |
} |
// GestureProviderClient |
- virtual void OnGestureEvent(const GestureEventData& gesture) override { |
+ void OnGestureEvent(const GestureEventData& gesture) override { |
if (gesture.type() == ET_GESTURE_SCROLL_BEGIN) |
active_scroll_begin_event_.reset(new GestureEventData(gesture)); |
gestures_.push_back(gesture); |