Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: services/image_decoder/image_decoder_impl_unittest.cc

Issue 2715153006: Set desired_image_size when decoding images for NTP Tile icons. (Closed)
Patch Set: ran git cl format as suggested Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/image_decoder/image_decoder_impl_unittest.cc
diff --git a/services/image_decoder/image_decoder_impl_unittest.cc b/services/image_decoder/image_decoder_impl_unittest.cc
index a04f21d30926a16cab5b033972daa29fc48ec973..c47b45dd1caebd31ca5dca59c2d4919a2c03946c 100644
--- a/services/image_decoder/image_decoder_impl_unittest.cc
+++ b/services/image_decoder/image_decoder_impl_unittest.cc
@@ -53,6 +53,7 @@ class Request {
void DecodeImage(const std::vector<unsigned char>& image, bool shrink) {
decoder_->DecodeImage(
image, mojom::ImageCodec::DEFAULT, shrink, kTestMaxImageSize,
+ gfx::Size(),
Mathieu 2017/03/01 14:36:23 add a comment: no preferred size, want the biggest
tschumann 2017/03/01 19:40:08 it's actually the smallest :-) I added a comment -
base::Bind(&Request::OnRequestDone, base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698