Index: Source/modules/mediastream/RTCDataChannel.cpp |
diff --git a/Source/modules/mediastream/RTCDataChannel.cpp b/Source/modules/mediastream/RTCDataChannel.cpp |
index 4586edc2bc42809c3f3a784a90ab458ae10cada6..ddd6416f00cdf3b1762651c3b40e0232ea95b5c5 100644 |
--- a/Source/modules/mediastream/RTCDataChannel.cpp |
+++ b/Source/modules/mediastream/RTCDataChannel.cpp |
@@ -63,7 +63,7 @@ PassRefPtr<RTCDataChannel> RTCDataChannel::create(ExecutionContext* context, bli |
OwnPtr<blink::WebRTCDataChannelHandler> handler = adoptPtr(peerConnectionHandler->createDataChannel(label, init)); |
if (!handler) { |
exceptionState.throwDOMException(NotSupportedError, "RTCDataChannel is not supported"); |
- return 0; |
+ return nullptr; |
} |
return adoptRef(new RTCDataChannel(context, handler.release())); |
} |