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

Unified Diff: Source/core/dom/MessagePort.h

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/core/dom/MessageChannel.h ('k') | Source/core/dom/MutationObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MessagePort.h
diff --git a/Source/core/dom/MessagePort.h b/Source/core/dom/MessagePort.h
index f83a80a590920ae4eb941b186b88b5dfd301a4b1..1e7f49e7e0d37758475fd7dd71e3556b3ccddca8 100644
--- a/Source/core/dom/MessagePort.h
+++ b/Source/core/dom/MessagePort.h
@@ -53,7 +53,7 @@ typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray;
// Not to be confused with WebMessagePortChannelArray; this one uses Vector and OwnPtr instead of WebVector and raw pointers.
typedef Vector<OwnPtr<WebMessagePortChannel>, 1> MessagePortChannelArray;
-class MessagePort FINAL : public RefCountedWillBeGarbageCollectedFinalized<MessagePort>
+class MessagePort final : public RefCountedWillBeGarbageCollectedFinalized<MessagePort>
, public ActiveDOMObject
, public EventTargetWithInlineData
, public WebMessagePortChannelClient {
@@ -83,13 +83,13 @@ public:
bool started() const { return m_started; }
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); }
- virtual MessagePort* toMessagePort() OVERRIDE { return this; }
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override { return ActiveDOMObject::executionContext(); }
+ virtual MessagePort* toMessagePort() override { return this; }
// ActiveDOMObject implementation.
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void stop() OVERRIDE { close(); }
+ virtual bool hasPendingActivity() const override;
+ virtual void stop() override { close(); }
void setOnmessage(PassRefPtr<EventListener> listener)
{
@@ -108,7 +108,7 @@ private:
explicit MessagePort(ExecutionContext&);
// WebMessagePortChannelClient implementation.
- virtual void messageAvailable() OVERRIDE;
+ virtual void messageAvailable() override;
void dispatchMessages();
OwnPtr<WebMessagePortChannel> m_entangledChannel;
« no previous file with comments | « Source/core/dom/MessageChannel.h ('k') | Source/core/dom/MutationObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698