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

Unified Diff: webrtc/modules/video_coding/test/vcm_payload_sink_factory.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/vcm_payload_sink_factory.cc
diff --git a/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc b/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc
index 5604e62893d33d2fcb0ddf09878b9f0f4b752cc8..6c0ab860db81fc1aaa1cfd9a679e935066d5a6ee 100644
--- a/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc
+++ b/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc
@@ -127,8 +127,8 @@ PayloadSinkInterface* VcmPayloadSinkFactory::Create(
std::unique_ptr<VideoCodingModule> vcm(
VideoCodingModule::Create(clock_, null_event_factory_.get()));
- if (vcm.get() == NULL) {
- return NULL;
+ if (vcm.get() == nullptr) {
+ return nullptr;
}
const PayloadTypes& plt = stream->payload_types();
@@ -139,7 +139,7 @@ PayloadSinkInterface* VcmPayloadSinkFactory::Create(
VideoCodingModule::Codec(it->codec_type(), &codec);
codec.plType = it->payload_type();
if (vcm->RegisterReceiveCodec(&codec, 1) < 0) {
- return NULL;
+ return nullptr;
}
}
}

Powered by Google App Engine
This is Rietveld 408576698