Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: content/renderer/device_sensors/device_motion_event_pump_unittest.cc

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/device_sensors/device_motion_event_pump_unittest.cc
diff --git a/content/renderer/device_sensors/device_motion_event_pump_unittest.cc b/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
index c008cdc2a4f210dba12f7860c373ddc8ca47c3b6..bb227477a73015d73b07f1a580350d40c08b8b45 100644
--- a/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
+++ b/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
@@ -45,14 +45,14 @@ class DeviceMotionEventPumpForTesting : public DeviceMotionEventPump {
public:
DeviceMotionEventPumpForTesting()
: DeviceMotionEventPump(0) { }
- virtual ~DeviceMotionEventPumpForTesting() { }
+ ~DeviceMotionEventPumpForTesting() override {}
void OnDidStart(base::SharedMemoryHandle renderer_handle) {
DeviceMotionEventPump::OnDidStart(renderer_handle);
}
- virtual void SendStartMessage() override { }
- virtual void SendStopMessage() override { }
- virtual void FireEvent() override {
+ void SendStartMessage() override {}
+ void SendStopMessage() override {}
+ void FireEvent() override {
DeviceMotionEventPump::FireEvent();
Stop();
base::MessageLoop::current()->QuitWhenIdle();

Powered by Google App Engine
This is Rietveld 408576698