Index: Source/modules/mediastream/UserMediaRequest.h |
diff --git a/Source/modules/mediastream/UserMediaRequest.h b/Source/modules/mediastream/UserMediaRequest.h |
index 8ad62dd47441378b368ce41397747fe5050745c0..28088149241f837c1d2ff49f9c7bb644dd2af6f6 100644 |
--- a/Source/modules/mediastream/UserMediaRequest.h |
+++ b/Source/modules/mediastream/UserMediaRequest.h |
@@ -49,10 +49,10 @@ class MediaConstraintsImpl; |
class MediaStreamDescriptor; |
class UserMediaController; |
-class UserMediaRequest : public RefCounted<UserMediaRequest>, public ContextLifecycleObserver { |
+class UserMediaRequest FINAL : public RefCounted<UserMediaRequest>, public ContextLifecycleObserver { |
public: |
static PassRefPtr<UserMediaRequest> create(ExecutionContext*, UserMediaController*, const Dictionary& options, PassOwnPtr<NavigatorUserMediaSuccessCallback>, PassOwnPtr<NavigatorUserMediaErrorCallback>, ExceptionState&); |
- ~UserMediaRequest(); |
+ virtual ~UserMediaRequest(); |
NavigatorUserMediaSuccessCallback* successCallback() const { return m_successCallback.get(); } |
NavigatorUserMediaErrorCallback* errorCallback() const { return m_errorCallback.get(); } |
@@ -70,7 +70,7 @@ public: |
MediaConstraints* videoConstraints() const; |
// ContextLifecycleObserver |
- virtual void contextDestroyed(); |
+ virtual void contextDestroyed() OVERRIDE; |
private: |
UserMediaRequest(ExecutionContext*, UserMediaController*, PassRefPtr<MediaConstraintsImpl> audio, PassRefPtr<MediaConstraintsImpl> video, PassOwnPtr<NavigatorUserMediaSuccessCallback>, PassOwnPtr<NavigatorUserMediaErrorCallback>); |