Index: webrtc/video/video_capture_input_unittest.cc |
diff --git a/webrtc/video/video_capture_input_unittest.cc b/webrtc/video/video_capture_input_unittest.cc |
index 0cb1139880effe4ea4acfe46d96965e0cb1b1cf7..b36c2577f91bdb3ce8550e18620648d2cfb44ae9 100644 |
--- a/webrtc/video/video_capture_input_unittest.cc |
+++ b/webrtc/video/video_capture_input_unittest.cc |
@@ -223,7 +223,7 @@ TEST_F(VideoCaptureInputTest, TestTextureFrameAfterI420Frame) { |
} |
bool EqualFrames(const VideoFrame& frame1, const VideoFrame& frame2) { |
- if (frame1.native_handle() != NULL || frame2.native_handle() != NULL) |
+ if (frame1.native_handle() || frame2.native_handle()) |
return EqualTextureFrames(frame1, frame2); |
return EqualBufferFrames(frame1, frame2); |
} |