Index: Source/modules/mediastream/RTCSessionDescription.cpp |
diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp |
index 6458972810362bc590d0c48454e2cf467dee65b3..33dad9a09598781558a95acf30884c98e07c7570 100644 |
--- a/Source/modules/mediastream/RTCSessionDescription.cpp |
+++ b/Source/modules/mediastream/RTCSessionDescription.cpp |
@@ -54,7 +54,7 @@ PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary |
bool ok = descriptionInitDict.get("type", type); |
if (ok && !verifyType(type)) { |
exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type)); |
- return 0; |
+ return nullptr; |
} |
String sdp; |