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

Unified Diff: webrtc/pc/sctputils.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/sctputils.cc
diff --git a/webrtc/pc/sctputils.cc b/webrtc/pc/sctputils.cc
index 1c2f76f496d5ea87d573f0e526ba6855493eb12f..5ab71f66d7b502e5356b47afdea154ff9bc278f8 100644
--- a/webrtc/pc/sctputils.cc
+++ b/webrtc/pc/sctputils.cc
@@ -164,9 +164,9 @@ bool WriteDataChannelOpenMessage(const std::string& label,
}
}
- rtc::ByteBufferWriter buffer(
- NULL, 20 + label.length() + config.protocol.length(),
- rtc::ByteBuffer::ORDER_NETWORK);
+ rtc::ByteBufferWriter buffer(nullptr,
+ 20 + label.length() + config.protocol.length(),
+ rtc::ByteBuffer::ORDER_NETWORK);
// TODO(tommi): Add error handling and check resulting length.
buffer.WriteUInt8(DATA_CHANNEL_OPEN_MESSAGE_TYPE);
buffer.WriteUInt8(channel_type);

Powered by Google App Engine
This is Rietveld 408576698