Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: webrtc/api/peerconnectioninterface.h

Issue 2715103002: Replace NULL with nullptr or null in webrtc/api/. (Closed)
Patch Set: merge with master Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/notifier.h ('k') | webrtc/api/proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/peerconnectioninterface.h
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
index 69bae293bf853a665614f7104ec0e038bcd78b1b..165f2d5a0070c9024ac13a70b8fe28272a89c9c9 100644
--- a/webrtc/api/peerconnectioninterface.h
+++ b/webrtc/api/peerconnectioninterface.h
@@ -532,7 +532,7 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
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 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface {
}
// 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 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface {
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;
« no previous file with comments | « webrtc/api/notifier.h ('k') | webrtc/api/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698