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

Unified Diff: Source/modules/mediasource/MediaSource.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (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
Index: Source/modules/mediasource/MediaSource.h
diff --git a/Source/modules/mediasource/MediaSource.h b/Source/modules/mediasource/MediaSource.h
index 719f37c2bb4e73270fb53dc893bded7e9d17f21d..1dcef7b7eaf3fb2ab7e89c98148ca54ba84960fd 100644
--- a/Source/modules/mediasource/MediaSource.h
+++ b/Source/modules/mediasource/MediaSource.h
@@ -47,7 +47,7 @@ class ExceptionState;
class GenericEventQueue;
class WebSourceBuffer;
-class MediaSource FINAL
+class MediaSource final
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaSource>
, public HTMLMediaSource
, public ActiveDOMObject
@@ -75,27 +75,27 @@ public:
static bool isTypeSupported(const String& type);
// HTMLMediaSource
- virtual bool attachToElement(HTMLMediaElement*) OVERRIDE;
- virtual void setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource>) OVERRIDE;
- virtual void close() OVERRIDE;
- virtual bool isClosed() const OVERRIDE;
- virtual double duration() const OVERRIDE;
- virtual PassRefPtrWillBeRawPtr<TimeRanges> buffered() const OVERRIDE;
+ virtual bool attachToElement(HTMLMediaElement*) override;
+ virtual void setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource>) override;
+ virtual void close() override;
+ virtual bool isClosed() const override;
+ virtual double duration() const override;
+ virtual PassRefPtrWillBeRawPtr<TimeRanges> buffered() const override;
#if !ENABLE(OILPAN)
- virtual void refHTMLMediaSource() OVERRIDE { ref(); }
- virtual void derefHTMLMediaSource() OVERRIDE { deref(); }
+ virtual void refHTMLMediaSource() override { ref(); }
+ virtual void derefHTMLMediaSource() override { deref(); }
#endif
// EventTarget interface
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
// ActiveDOMObject interface
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const override;
+ virtual void stop() override;
// URLRegistrable interface
- virtual URLRegistry& registry() const OVERRIDE;
+ virtual URLRegistry& registry() const override;
// Used by SourceBuffer.
void openIfInEndedState();
« no previous file with comments | « Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h ('k') | Source/modules/mediasource/MediaSourceRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698