Index: webrtc/media/engine/webrtcvideocapturer.cc |
diff --git a/webrtc/media/engine/webrtcvideocapturer.cc b/webrtc/media/engine/webrtcvideocapturer.cc |
index 044cfcb6d0b81f0f11a8ebe59e1e699d900ca3c7..e92b4ea231296a1574b6a2dbfb1d58b59fcec56b 100644 |
--- a/webrtc/media/engine/webrtcvideocapturer.cc |
+++ b/webrtc/media/engine/webrtcvideocapturer.cc |
@@ -315,13 +315,13 @@ void WebRtcVideoCapturer::Stop() { |
// caused). |
async_invoker_.reset(); |
- SetCaptureFormat(NULL); |
+ SetCaptureFormat(nullptr); |
start_thread_ = nullptr; |
SetCaptureState(CS_STOPPED); |
} |
bool WebRtcVideoCapturer::IsRunning() { |
- return (module_ != NULL && module_->CaptureStarted()); |
+ return (module_ != nullptr && module_->CaptureStarted()); |
} |
bool WebRtcVideoCapturer::GetPreferredFourccs(std::vector<uint32_t>* fourccs) { |