Index: webrtc/test/fake_encoder.h |
diff --git a/webrtc/test/fake_encoder.h b/webrtc/test/fake_encoder.h |
index 6bff00e2a314fd0ca1310f83c5094a93fb266258..ae869fff6abe0fd93547e51771d9f1d0f4913214 100644 |
--- a/webrtc/test/fake_encoder.h |
+++ b/webrtc/test/fake_encoder.h |
@@ -61,9 +61,9 @@ class FakeH264Encoder : public FakeEncoder, public EncodedImageCallback { |
int32_t RegisterEncodeCompleteCallback( |
EncodedImageCallback* callback) override; |
- int32_t Encoded(const EncodedImage& encodedImage, |
- const CodecSpecificInfo* codecSpecificInfo, |
- const RTPFragmentationHeader* fragments) override; |
+ Result OnEncodedImage(const EncodedImage& encodedImage, |
+ const CodecSpecificInfo* codecSpecificInfo, |
+ const RTPFragmentationHeader* fragments) override; |
private: |
EncodedImageCallback* callback_; |