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

Unified Diff: Source/modules/encryptedmedia/MediaKeys.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/encryptedmedia/MediaKeys.h
diff --git a/Source/modules/encryptedmedia/MediaKeys.h b/Source/modules/encryptedmedia/MediaKeys.h
index 2e25c05ec8877052f3e3899a7ddb82381e39763d..6a667bd22e31aaf4a4731abfa19e9214b8b3b4be 100644
--- a/Source/modules/encryptedmedia/MediaKeys.h
+++ b/Source/modules/encryptedmedia/MediaKeys.h
@@ -54,7 +54,7 @@ class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ActiveDOMO
DEFINE_WRAPPERTYPEINFO();
public:
static MediaKeys* create(ExecutionContext*, const WebVector<WebEncryptedMediaSessionType>& supportedSessionTypes, PassOwnPtr<WebContentDecryptionModule>);
- virtual ~MediaKeys();
+ ~MediaKeys() override;
MediaKeySession* createSession(ScriptState*, const String& sessionTypeString, ExceptionState&);
@@ -75,9 +75,9 @@ public:
// FIXME: This class could derive from ContextLifecycleObserver
// again once hasPendingActivity() is moved to ScriptWrappable
// (http://crbug.com/483722).
- virtual void contextDestroyed() override;
- virtual bool hasPendingActivity() const override;
- virtual void stop() override;
+ void contextDestroyed() override;
+ bool hasPendingActivity() const override;
+ void stop() override;
private:
MediaKeys(ExecutionContext*, const WebVector<WebEncryptedMediaSessionType>& supportedSessionTypes, PassOwnPtr<WebContentDecryptionModule>);

Powered by Google App Engine
This is Rietveld 408576698