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

Unified Diff: Source/modules/device_orientation/DeviceMotionDispatcher.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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: Source/modules/device_orientation/DeviceMotionDispatcher.h
diff --git a/Source/modules/device_orientation/DeviceMotionDispatcher.h b/Source/modules/device_orientation/DeviceMotionDispatcher.h
index e6885fd5767fd35e9dbd6d550ee32839902bb3b3..be76022413ba0f1b9340d97efd43d9a54bc4e22d 100644
--- a/Source/modules/device_orientation/DeviceMotionDispatcher.h
+++ b/Source/modules/device_orientation/DeviceMotionDispatcher.h
@@ -46,14 +46,14 @@ class DeviceMotionDispatcher final : public GarbageCollectedFinalized<DeviceMoti
USING_GARBAGE_COLLECTED_MIXIN(DeviceMotionDispatcher);
public:
static DeviceMotionDispatcher& instance();
- virtual ~DeviceMotionDispatcher();
+ ~DeviceMotionDispatcher() override;
// Note that the returned object is owned by this class.
// FIXME: make the return value const, see crbug.com/233174.
DeviceMotionData* latestDeviceMotionData();
// Inherited from WebDeviceMotionListener.
- virtual void didChangeDeviceMotion(const WebDeviceMotionData&) override;
+ void didChangeDeviceMotion(const WebDeviceMotionData&) override;
DECLARE_VIRTUAL_TRACE();
@@ -61,8 +61,8 @@ private:
DeviceMotionDispatcher();
// Inherited from PlatformEventDispatcher.
- virtual void startListening() override;
- virtual void stopListening() override;
+ void startListening() override;
+ void stopListening() override;
Member<DeviceMotionData> m_lastDeviceMotionData;
};
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionController.h ('k') | Source/modules/device_orientation/DeviceMotionEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698