Index: webrtc/modules/video_coding/generic_encoder_unittest.cc |
diff --git a/webrtc/modules/video_coding/generic_encoder_unittest.cc b/webrtc/modules/video_coding/generic_encoder_unittest.cc |
index 3de5c333fb52d3aef40c17eb2cb7c4d0c3606d5b..eec5b98bbabbc9b362056726ca3f35fbb111c77d 100644 |
--- a/webrtc/modules/video_coding/generic_encoder_unittest.cc |
+++ b/webrtc/modules/video_coding/generic_encoder_unittest.cc |
@@ -32,7 +32,7 @@ class FakeEncodedImageCallback : public EncodedImageCallback { |
const CodecSpecificInfo* codec_specific_info, |
const RTPFragmentationHeader* fragmentation) override { |
last_frame_was_timing_ = encoded_image.timing_.is_timing_frame; |
- return Result::OK; |
+ return Result(Result::OK); |
}; |
bool WasTimingFrame() { return last_frame_was_timing_; } |