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

Unified Diff: webrtc/base/winping.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/base/winping.cc
diff --git a/webrtc/base/winping.cc b/webrtc/base/winping.cc
index 5545076f27a1b80f53b6cd4d93451b65d31394b5..21f4fa38a2512f534a168c67f8b962c48e199b98 100644
--- a/webrtc/base/winping.cc
+++ b/webrtc/base/winping.cc
@@ -249,7 +249,7 @@ WinPing::PingResult WinPing::Ping(IPAddress ip,
src.sin6_family = AF_INET6;
dst.sin6_family = AF_INET6;
dst.sin6_addr = ip.ipv6_address();
- result = send6_(hping6_, NULL, NULL, NULL, &src, &dst, data_,
+ result = send6_(hping6_, nullptr, nullptr, nullptr, &src, &dst, data_,
int16_t(data_size), &ipopt, reply_, reply_size, timeout);
}
if (result == 0) {
@@ -330,7 +330,7 @@ WinPing::PingResult WinPing::Ping(IPAddress ip,
// RequestSize - The number of bytes in the request data buffer.
//
// RequestOptions - Pointer to the IP header options for the request.
-// May be NULL.
+// May be null.
//
// ReplyBuffer - A buffer to hold any replies to the request.
// On return, the buffer will contain an array of

Powered by Google App Engine
This is Rietveld 408576698