| Index: webrtc/video/video_encoder_unittest.cc
|
| diff --git a/webrtc/video/video_encoder_unittest.cc b/webrtc/video/video_encoder_unittest.cc
|
| index ac006bb872a0515e77b9788c47bebf0292057781..f2c3ea61c46636af85979e7b94945f4aca5e5656 100644
|
| --- a/webrtc/video/video_encoder_unittest.cc
|
| +++ b/webrtc/video/video_encoder_unittest.cc
|
| @@ -85,12 +85,10 @@
|
|
|
| class FakeEncodedImageCallback : public EncodedImageCallback {
|
| public:
|
| - Result OnEncodedImage(
|
| - const EncodedImage& encoded_image,
|
| - const CodecSpecificInfo* codec_specific_info,
|
| - const RTPFragmentationHeader* fragmentation) override {
|
| - ++callback_count_;
|
| - return Result(Result::OK, callback_count_);
|
| + int32_t Encoded(const EncodedImage& encoded_image,
|
| + const CodecSpecificInfo* codec_specific_info,
|
| + const RTPFragmentationHeader* fragmentation) override {
|
| + return ++callback_count_;
|
| }
|
| int callback_count_ = 0;
|
| };
|
|
|