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

Unified Diff: Source/modules/mediasource/MediaSource.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
Index: Source/modules/mediasource/MediaSource.h
diff --git a/Source/modules/mediasource/MediaSource.h b/Source/modules/mediasource/MediaSource.h
index d52a0bb123ccaea67320c1d4eefd73bab760d1cb..8e4504335d742be41af411b23cabc0f352d23434 100644
--- a/Source/modules/mediasource/MediaSource.h
+++ b/Source/modules/mediasource/MediaSource.h
@@ -60,7 +60,7 @@ public:
static const AtomicString& endedKeyword();
static MediaSource* create(ExecutionContext*);
- virtual ~MediaSource();
+ ~MediaSource() override;
// MediaSource.idl methods
SourceBufferList* sourceBuffers() { return m_sourceBuffers.get(); }
@@ -74,28 +74,28 @@ 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 PassRefPtrWillBeRawPtr<TimeRanges> seekable() const override;
+ bool attachToElement(HTMLMediaElement*) override;
+ void setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource>) override;
+ void close() override;
+ bool isClosed() const override;
+ double duration() const override;
+ PassRefPtrWillBeRawPtr<TimeRanges> buffered() const override;
+ PassRefPtrWillBeRawPtr<TimeRanges> seekable() const override;
#if !ENABLE(OILPAN)
- virtual void refHTMLMediaSource() override { ref(); }
- virtual void derefHTMLMediaSource() override { deref(); }
+ void refHTMLMediaSource() override { ref(); }
+ void derefHTMLMediaSource() override { deref(); }
#endif
// EventTarget interface
- virtual const AtomicString& interfaceName() const override;
- virtual ExecutionContext* executionContext() const override;
+ const AtomicString& interfaceName() const override;
+ ExecutionContext* executionContext() const override;
// ActiveDOMObject interface
- virtual bool hasPendingActivity() const override;
- virtual void stop() override;
+ bool hasPendingActivity() const override;
+ void stop() override;
// URLRegistrable interface
- virtual URLRegistry& registry() const override;
+ URLRegistry& registry() const override;
// Used by SourceBuffer.
void openIfInEndedState();
« no previous file with comments | « Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.h ('k') | Source/modules/mediasource/MediaSourceRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698