Index: Source/modules/battery/BatteryManager.h |
diff --git a/Source/modules/battery/BatteryManager.h b/Source/modules/battery/BatteryManager.h |
index a1d784f4fa9a7f37dffd1ff313a4d8df4d2d1fec..c05e4c165f01d74410237f9e1490b30e0c1da367 100644 |
--- a/Source/modules/battery/BatteryManager.h |
+++ b/Source/modules/battery/BatteryManager.h |
@@ -16,7 +16,7 @@ namespace blink { |
class BatteryStatus; |
-class BatteryManager FINAL : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<BatteryManager>, public ActiveDOMObject, public PlatformEventController, public EventTargetWithInlineData { |
+class BatteryManager final : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<BatteryManager>, public ActiveDOMObject, public PlatformEventController, public EventTargetWithInlineData { |
DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<BatteryManager>); |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager); |
@@ -28,8 +28,8 @@ public: |
ScriptPromise startRequest(ScriptState*); |
// EventTarget implementation. |
- virtual const WTF::AtomicString& interfaceName() const OVERRIDE { return EventTargetNames::BatteryManager; } |
- virtual ExecutionContext* executionContext() const OVERRIDE { return ContextLifecycleObserver::executionContext(); } |
+ virtual const WTF::AtomicString& interfaceName() const override { return EventTargetNames::BatteryManager; } |
+ virtual ExecutionContext* executionContext() const override { return ContextLifecycleObserver::executionContext(); } |
bool charging(); |
double chargingTime(); |
@@ -42,19 +42,19 @@ public: |
DEFINE_ATTRIBUTE_EVENT_LISTENER(levelchange); |
// Inherited from PlatformEventController. |
- virtual void didUpdateData() OVERRIDE; |
- virtual void registerWithDispatcher() OVERRIDE; |
- virtual void unregisterWithDispatcher() OVERRIDE; |
- virtual bool hasLastData() OVERRIDE; |
+ virtual void didUpdateData() override; |
+ virtual void registerWithDispatcher() override; |
+ virtual void unregisterWithDispatcher() override; |
+ virtual bool hasLastData() override; |
// ActiveDOMObject implementation. |
virtual bool canSuspend() const { return true; } |
- virtual void suspend() OVERRIDE; |
- virtual void resume() OVERRIDE; |
- virtual void stop() OVERRIDE; |
- virtual bool hasPendingActivity() const OVERRIDE; |
+ virtual void suspend() override; |
+ virtual void resume() override; |
+ virtual void stop() override; |
+ virtual bool hasPendingActivity() const override; |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
private: |
enum State { |