Index: Source/modules/serviceworkers/ServiceWorkerRegistration.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
index 95bc48293d3982ea14dc7eee0dc1bd1f73b73456..3538b377dadc253730786c27eeed49d321c24661 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
@@ -22,7 +22,7 @@ class ScriptPromiseResolver; |
class ScriptState; |
class WebServiceWorkerProvider; |
-class ServiceWorkerRegistration FINAL |
+class ServiceWorkerRegistration final |
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<ServiceWorkerRegistration> |
, public ActiveDOMObject |
, public EventTargetWithInlineData |
@@ -32,14 +32,14 @@ class ServiceWorkerRegistration FINAL |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerRegistration); |
public: |
// EventTarget overrides. |
- virtual const AtomicString& interfaceName() const OVERRIDE; |
- virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); } |
+ virtual const AtomicString& interfaceName() const override; |
+ virtual ExecutionContext* executionContext() const override { return ActiveDOMObject::executionContext(); } |
// WebServiceWorkerRegistrationProxy overrides. |
- virtual void dispatchUpdateFoundEvent() OVERRIDE; |
- virtual void setInstalling(WebServiceWorker*) OVERRIDE; |
- virtual void setWaiting(WebServiceWorker*) OVERRIDE; |
- virtual void setActive(WebServiceWorker*) OVERRIDE; |
+ virtual void dispatchUpdateFoundEvent() override; |
+ virtual void setInstalling(WebServiceWorker*) override; |
+ virtual void setWaiting(WebServiceWorker*) override; |
+ virtual void setActive(WebServiceWorker*) override; |
// For CallbackPromiseAdapter. |
typedef WebServiceWorkerRegistration WebType; |
@@ -57,15 +57,15 @@ public: |
DEFINE_ATTRIBUTE_EVENT_LISTENER(updatefound); |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
private: |
static ServiceWorkerRegistration* getOrCreate(ExecutionContext*, WebServiceWorkerRegistration*); |
ServiceWorkerRegistration(ExecutionContext*, PassOwnPtr<WebServiceWorkerRegistration>); |
// ActiveDOMObject overrides. |
- virtual bool hasPendingActivity() const OVERRIDE; |
- virtual void stop() OVERRIDE; |
+ virtual bool hasPendingActivity() const override; |
+ virtual void stop() override; |
OwnPtr<WebServiceWorkerRegistration> m_outerRegistration; |
WebServiceWorkerProvider* m_provider; |