| Index: webrtc/voice_engine/voe_neteq_stats_impl.cc
|
| diff --git a/webrtc/voice_engine/voe_neteq_stats_impl.cc b/webrtc/voice_engine/voe_neteq_stats_impl.cc
|
| index 384292346bd126ae7c6675e5c70a5b713d4e8b8f..afb7529468e453c18ad7f3880cb70ecb7b788baf 100644
|
| --- a/webrtc/voice_engine/voe_neteq_stats_impl.cc
|
| +++ b/webrtc/voice_engine/voe_neteq_stats_impl.cc
|
| @@ -19,8 +19,8 @@
|
| namespace webrtc {
|
|
|
| VoENetEqStats* VoENetEqStats::GetInterface(VoiceEngine* voiceEngine) {
|
| - if (NULL == voiceEngine) {
|
| - return NULL;
|
| + if (nullptr == voiceEngine) {
|
| + return nullptr;
|
| }
|
| VoiceEngineImpl* s = static_cast<VoiceEngineImpl*>(voiceEngine);
|
| s->AddRef();
|
| @@ -46,7 +46,7 @@ int VoENetEqStatsImpl::GetNetworkStatistics(int channel,
|
| }
|
| voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel);
|
| voe::Channel* channelPtr = ch.channel();
|
| - if (channelPtr == NULL) {
|
| + if (channelPtr == nullptr) {
|
| _shared->SetLastError(VE_CHANNEL_NOT_VALID, kTraceError,
|
| "GetNetworkStatistics() failed to locate channel");
|
| return -1;
|
| @@ -63,7 +63,7 @@ int VoENetEqStatsImpl::GetDecodingCallStatistics(
|
| }
|
| voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel);
|
| voe::Channel* channelPtr = ch.channel();
|
| - if (channelPtr == NULL) {
|
| + if (channelPtr == nullptr) {
|
| _shared->SetLastError(VE_CHANNEL_NOT_VALID, kTraceError,
|
| "GetDecodingCallStatistics() failed to locate "
|
| "channel");
|
|
|