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

Unified Diff: webrtc/pc/jsepicecandidate.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. 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
Index: webrtc/pc/jsepicecandidate.cc
diff --git a/webrtc/pc/jsepicecandidate.cc b/webrtc/pc/jsepicecandidate.cc
index 51faa0739f8b034617a2647d6618303d7847de0e..5489f6b951e2eac29316a9bd30631c66be7a5465 100644
--- a/webrtc/pc/jsepicecandidate.cc
+++ b/webrtc/pc/jsepicecandidate.cc
@@ -24,7 +24,7 @@ IceCandidateInterface* CreateIceCandidate(const std::string& sdp_mid,
JsepIceCandidate* jsep_ice = new JsepIceCandidate(sdp_mid, sdp_mline_index);
if (!jsep_ice->Initialize(sdp, error)) {
delete jsep_ice;
- return NULL;
+ return nullptr;
}
return jsep_ice;
}

Powered by Google App Engine
This is Rietveld 408576698