diff --git a/blink/renderer/platform/image-decoders/heif/heif_image_decoder_unittest.cc b/blink/renderer/platform/image-decoders/heif/heif_image_decoder_unittest.cc index fdf8f09fe6a6d6fa643507613d19e609e9795146..5b4d8c2bc677db7b914c5e8e8a22439c0329f21f 100755 --- a/blink/renderer/platform/image-decoders/heif/heif_image_decoder_unittest.cc +++ b/blink/renderer/platform/image-decoders/heif/heif_image_decoder_unittest.cc @@ -74,6 +74,7 @@ class MockOhosImageDecoderAdapter : public OHOS::NWeb::OhosImageDecoderAdapter { OHOS::NWeb::AllocatorType type, bool useYuv), (override)); + MOCK_METHOD(void*, GetDecodeData, (), ()); }; class HeifImageDecoderTest : public testing::Test {