Index: components/ntp_snippets/remote/remote_suggestions_provider_impl.cc |
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc b/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc |
index dcdbe0651e6929b4689698354769b46793c775f6..19f973f23438a59452e13fa40eea92139c5377ad 100644 |
--- a/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc |
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc |
@@ -218,7 +218,10 @@ void CachedImageFetcher::OnSnippetImageFetchedFromDatabase( |
// |image_decoder_| is null in tests. |
if (image_decoder_ && !data.empty()) { |
image_decoder_->DecodeImage( |
- data, base::Bind(&CachedImageFetcher::OnSnippetImageDecodedFromDatabase, |
+ data, |
+ // We're not dealing with multi-frame images. |
+ /*desired_image_frame_size=*/gfx::Size(), |
+ base::Bind(&CachedImageFetcher::OnSnippetImageDecodedFromDatabase, |
base::Unretained(this), callback, suggestion_id, url)); |
return; |
} |