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

Unified Diff: webrtc/modules/video_coding/test/stream_generator.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/modules/video_coding/test/stream_generator.cc
diff --git a/webrtc/modules/video_coding/test/stream_generator.cc b/webrtc/modules/video_coding/test/stream_generator.cc
index 73362c732dff52d3659104e8c1ff3db2a005bb40..fa0f6c1e85308d911effdc896dbca811a0dd6136 100644
--- a/webrtc/modules/video_coding/test/stream_generator.cc
+++ b/webrtc/modules/video_coding/test/stream_generator.cc
@@ -97,7 +97,7 @@ bool StreamGenerator::GetPacket(VCMPacket* packet, int index) {
bool StreamGenerator::NextPacket(VCMPacket* packet) {
if (packets_.empty())
return false;
- if (packet != NULL)
+ if (packet != nullptr)
*packet = packets_.front();
packets_.pop_front();
return true;

Powered by Google App Engine
This is Rietveld 408576698