| Index: ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm
|
| diff --git a/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm b/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm
|
| index d7115b772fe2bad0451ffbdd0738829af8f58b49..2cb03e981dab70d4a0d2cde3a3a14b0735d7d562 100644
|
| --- a/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm
|
| +++ b/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm
|
| @@ -13,6 +13,7 @@
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/platform_test.h"
|
| +#include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/image/image.h"
|
|
|
| #if !defined(__has_feature) || !__has_feature(objc_arc)
|
| @@ -82,8 +83,9 @@ TEST_F(IOSImageDecoderImplTest, JPGImage) {
|
| std::string image_data =
|
| std::string(reinterpret_cast<char*>(kJPGImage), sizeof(kJPGImage));
|
| ios_image_decoder_impl_->DecodeImage(
|
| - image_data, base::Bind(&IOSImageDecoderImplTest::OnImageDecoded,
|
| - base::Unretained(this)));
|
| + image_data, gfx::Size(),
|
| + base::Bind(&IOSImageDecoderImplTest::OnImageDecoded,
|
| + base::Unretained(this)));
|
|
|
| pool_->FlushForTesting();
|
| base::RunLoop().RunUntilIdle();
|
| @@ -97,8 +99,9 @@ TEST_F(IOSImageDecoderImplTest, WebpImage) {
|
| std::string image_data =
|
| std::string(reinterpret_cast<char*>(kWEBPImage), sizeof(kWEBPImage));
|
| ios_image_decoder_impl_->DecodeImage(
|
| - image_data, base::Bind(&IOSImageDecoderImplTest::OnImageDecoded,
|
| - base::Unretained(this)));
|
| + image_data, gfx::Size(),
|
| + base::Bind(&IOSImageDecoderImplTest::OnImageDecoded,
|
| + base::Unretained(this)));
|
|
|
| pool_->FlushForTesting();
|
| base::RunLoop().RunUntilIdle();
|
|
|