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

Unified Diff: Source/modules/device_orientation/DeviceOrientationDispatcher.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/DeviceOrientationDispatcher.h
diff --git a/Source/modules/device_orientation/DeviceOrientationDispatcher.h b/Source/modules/device_orientation/DeviceOrientationDispatcher.h
index a83917cbe9d150f892b40dbd86b1f59151cd353e..1a0322a053d075fa8a4489ae09fc1c31f9a91689 100644
--- a/Source/modules/device_orientation/DeviceOrientationDispatcher.h
+++ b/Source/modules/device_orientation/DeviceOrientationDispatcher.h
@@ -46,14 +46,14 @@ class DeviceOrientationDispatcher final : public GarbageCollectedFinalized<Devic
USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationDispatcher);
public:
static DeviceOrientationDispatcher& instance();
- virtual ~DeviceOrientationDispatcher();
+ ~DeviceOrientationDispatcher() override;
// Note that the returned object is owned by this class.
// FIXME: make the return value const, see crbug.com/233174.
DeviceOrientationData* latestDeviceOrientationData();
// Inherited from WebDeviceOrientationListener.
- virtual void didChangeDeviceOrientation(const WebDeviceOrientationData&) override;
+ void didChangeDeviceOrientation(const WebDeviceOrientationData&) override;
DECLARE_VIRTUAL_TRACE();
@@ -61,8 +61,8 @@ private:
DeviceOrientationDispatcher();
// Inherited from PlatformEventDispatcher.
- virtual void startListening() override;
- virtual void stopListening() override;
+ void startListening() override;
+ void stopListening() override;
Member<DeviceOrientationData> m_lastDeviceOrientationData;
};

Powered by Google App Engine
This is Rietveld 408576698