summaryrefslogtreecommitdiffstats
path: root/ui/gfx/codec/png_codec_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/codec/png_codec_unittest.cc')
-rw-r--r--ui/gfx/codec/png_codec_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/codec/png_codec_unittest.cc b/ui/gfx/codec/png_codec_unittest.cc
index e7e837c..16ca34a 100644
--- a/ui/gfx/codec/png_codec_unittest.cc
+++ b/ui/gfx/codec/png_codec_unittest.cc
@@ -357,7 +357,7 @@ TEST(PNGCodec, EncodeDecodeWithVaryingCompressionLevels) {
std::vector<unsigned char> encoded_best;
EXPECT_TRUE(PNGCodec::EncodeWithCompressionLevel(
&original[0], PNGCodec::FORMAT_RGBA, Size(w, h), w * 4, false,
- std::vector<PNGCodec::Comment>(), Z_BEST_COMPRESSION, &encoded_fast));
+ std::vector<PNGCodec::Comment>(), Z_BEST_COMPRESSION, &encoded_best));
// Make sure the different compression settings actually do something; the
// sizes should be different.