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

Unified Diff: webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.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/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc
diff --git a/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc b/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc
index 4585c98e56a41a868a20d98b1fe5e682a9f11392..eaf4a94171b7e062b94252ab14f8488777dea773 100644
--- a/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc
+++ b/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc
@@ -38,10 +38,10 @@ UdpSocketManager* UdpSocketManager::StaticInstance(
{
UdpSocketManager* impl =
GetStaticInstance<UdpSocketManager>(count_operation);
- if (count_operation == kAddRef && impl != NULL) {
- if (impl->Init(id, numOfWorkThreads)) {
- impl->Start();
- }
+ if (count_operation == kAddRef && impl != nullptr) {
+ if (impl->Init(id, numOfWorkThreads)) {
+ impl->Start();
+ }
}
return impl;
}

Powered by Google App Engine
This is Rietveld 408576698