| Index: Source/modules/mediastream/RTCIceCandidate.cpp
|
| diff --git a/Source/modules/mediastream/RTCIceCandidate.cpp b/Source/modules/mediastream/RTCIceCandidate.cpp
|
| index e1dd0ca550c37f1512a400b08cd5a59a846b70d5..8cf18f88f10d9c6d15e68dcc3f04e5fdeac45439 100644
|
| --- a/Source/modules/mediastream/RTCIceCandidate.cpp
|
| +++ b/Source/modules/mediastream/RTCIceCandidate.cpp
|
| @@ -45,7 +45,7 @@ PassRefPtr<RTCIceCandidate> RTCIceCandidate::create(const Dictionary& dictionary
|
| bool ok = dictionary.get("candidate", candidate);
|
| if (!ok || !candidate.length()) {
|
| exceptionState.throwDOMException(TypeMismatchError, ExceptionMessages::incorrectPropertyType("candidate", "is not a string, or is empty."));
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| String sdpMid;
|
|
|