Index: webrtc/video/encoded_frame_callback_adapter.cc |
diff --git a/webrtc/video/encoded_frame_callback_adapter.cc b/webrtc/video/encoded_frame_callback_adapter.cc |
index 4c6823fa47c62af80324423ebb5944819b83abea..84283608a0445fb7a2d38e799f290a28ab076367 100644 |
--- a/webrtc/video/encoded_frame_callback_adapter.cc |
+++ b/webrtc/video/encoded_frame_callback_adapter.cc |
@@ -26,7 +26,7 @@ int32_t EncodedFrameCallbackAdapter::Encoded( |
const EncodedImage& encodedImage, |
const CodecSpecificInfo* codecSpecificInfo, |
const RTPFragmentationHeader* fragmentation) { |
- RTC_DCHECK(observer_ != nullptr); |
+ RTC_DCHECK(observer_); |
const EncodedFrame frame(encodedImage._buffer, encodedImage._length, |
encodedImage._frameType); |
observer_->EncodedFrameCallback(frame); |