Replace NULL with nullptr or null in webrtc/api/.
BUG=webrtc:7147
Review-Url: https://codereview.webrtc.org/2715103002
Cr-Commit-Position: refs/heads/master@{#16880}
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
index 69bae29..165f2d5 100644
--- a/webrtc/api/peerconnectioninterface.h
+++ b/webrtc/api/peerconnectioninterface.h
@@ -532,7 +532,7 @@
return false;
}
- // Returns pointer to a DtmfSender on success. Otherwise returns NULL.
+ // Returns pointer to a DtmfSender on success. Otherwise returns null.
//
// This API is no longer part of the standard; instead DtmfSenders are
// obtained from RtpSenders. Which is what the implementation does; it finds
@@ -922,8 +922,8 @@
}
// A video source creator that allows selection of resolution and frame rate.
- // |constraints| decides video resolution and frame rate but can be NULL.
- // In the NULL case, use the version above.
+ // |constraints| decides video resolution and frame rate but can be null.
+ // In the null case, use the version above.
//
// |constraints| is only used for the invocation of this method, and can
// safely be destroyed afterwards.
@@ -952,7 +952,7 @@
const std::string& label,
VideoTrackSourceInterface* source) = 0;
- // Creates an new AudioTrack. At the moment |source| can be NULL.
+ // Creates an new AudioTrack. At the moment |source| can be null.
virtual rtc::scoped_refptr<AudioTrackInterface>
CreateAudioTrack(const std::string& label,
AudioSourceInterface* source) = 0;