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

Unified Diff: Source/modules/device_light/DeviceLightDispatcher.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
« no previous file with comments | « Source/modules/device_light/DeviceLightController.h ('k') | Source/modules/device_light/DeviceLightEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_light/DeviceLightDispatcher.h
diff --git a/Source/modules/device_light/DeviceLightDispatcher.h b/Source/modules/device_light/DeviceLightDispatcher.h
index 61b73e60f43951cc6243df4e573a9ab135c69f65..58315bc0e5a0101b595cfd674078f190e8cdd40f 100644
--- a/Source/modules/device_light/DeviceLightDispatcher.h
+++ b/Source/modules/device_light/DeviceLightDispatcher.h
@@ -16,12 +16,12 @@ class DeviceLightDispatcher final : public GarbageCollectedFinalized<DeviceLight
USING_GARBAGE_COLLECTED_MIXIN(DeviceLightDispatcher);
public:
static DeviceLightDispatcher& instance();
- virtual ~DeviceLightDispatcher();
+ ~DeviceLightDispatcher() override;
double latestDeviceLightData() const;
// Inherited from WebDeviceLightListener.
- virtual void didChangeDeviceLight(double) override;
+ void didChangeDeviceLight(double) override;
DECLARE_VIRTUAL_TRACE();
@@ -29,8 +29,8 @@ private:
DeviceLightDispatcher();
// Inherited from PlatformEventDispatcher.
- virtual void startListening() override;
- virtual void stopListening() override;
+ void startListening() override;
+ void stopListening() override;
double m_lastDeviceLightData;
};
« no previous file with comments | « Source/modules/device_light/DeviceLightController.h ('k') | Source/modules/device_light/DeviceLightEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698