diff --git a/AUTHORS b/AUTHORS index 3ed6b6c1eb..32cff7bd7a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -46,6 +46,7 @@ Steve Reid Vladimir Beloborodov Vicken Simonian Victor Costan +Stefan Gula &yet LLC <*@andyet.com> Agora IO <*@agora.io> diff --git a/webrtc/p2p/base/transportdescription.h b/webrtc/p2p/base/transportdescription.h index e7f9263b3e..6f4e9a4bf1 100644 --- a/webrtc/p2p/base/transportdescription.h +++ b/webrtc/p2p/base/transportdescription.h @@ -147,7 +147,7 @@ struct TransportDescription { void AddOption(const std::string& option) { transport_options.push_back(option); } - bool secure() const { return identity_fingerprint != NULL; } + bool secure() const { return identity_fingerprint != nullptr; } IceParameters GetIceParameters() { return IceParameters(ice_ufrag, ice_pwd, HasOption(ICE_RENOMINATION_STR)); diff --git a/webrtc/pc/videocapturertracksource.cc b/webrtc/pc/videocapturertracksource.cc index 2c64b42a07..216362b188 100644 --- a/webrtc/pc/videocapturertracksource.cc +++ b/webrtc/pc/videocapturertracksource.cc @@ -262,7 +262,7 @@ rtc::scoped_refptr VideoCapturerTrackSource::Create( const webrtc::MediaConstraintsInterface* constraints, bool remote) { RTC_DCHECK(worker_thread != NULL); - RTC_DCHECK(capturer != NULL); + RTC_DCHECK(capturer != nullptr); rtc::scoped_refptr source( new rtc::RefCountedObject( worker_thread, std::move(capturer), remote)); @@ -275,7 +275,7 @@ rtc::scoped_refptr VideoCapturerTrackSource::Create( std::unique_ptr capturer, bool remote) { RTC_DCHECK(worker_thread != NULL); - RTC_DCHECK(capturer != NULL); + RTC_DCHECK(capturer != nullptr); rtc::scoped_refptr source( new rtc::RefCountedObject( worker_thread, std::move(capturer), remote));