Index: Source/modules/mediastream/RTCDataChannel.h |
diff --git a/Source/modules/mediastream/RTCDataChannel.h b/Source/modules/mediastream/RTCDataChannel.h |
index 911b7053edfdaf8ce43c72773d890cba091f22e8..d358f212cc86523959ccad5f6b00a3a2fdab8f6c 100644 |
--- a/Source/modules/mediastream/RTCDataChannel.h |
+++ b/Source/modules/mediastream/RTCDataChannel.h |
@@ -42,12 +42,12 @@ class ExceptionState; |
class RTCDataChannelHandler; |
class RTCPeerConnectionHandler; |
-class RTCDataChannel : public RefCounted<RTCDataChannel>, public ScriptWrappable, public EventTargetWithInlineData, public RTCDataChannelHandlerClient { |
+class RTCDataChannel FINAL : public RefCounted<RTCDataChannel>, public ScriptWrappable, public EventTargetWithInlineData, public RTCDataChannelHandlerClient { |
REFCOUNTED_EVENT_TARGET(RTCDataChannel); |
public: |
static PassRefPtr<RTCDataChannel> create(ExecutionContext*, PassOwnPtr<RTCDataChannelHandler>); |
static PassRefPtr<RTCDataChannel> create(ExecutionContext*, RTCPeerConnectionHandler*, const String& label, const blink::WebRTCDataChannelInit&, ExceptionState&); |
- ~RTCDataChannel(); |
+ virtual ~RTCDataChannel(); |
String label() const; |