summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-13 22:31:48 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-13 22:31:48 +0000
commitccc66057ce11a5217c730cee82900bc21644a6fd (patch)
tree0f0f574d56c3b5fc6ef90aea0e2ad928805dd116 /ui
parentcef7a5e3915d34a95fdad3024b5d48a33bd3c2aa (diff)
downloadchromium_src-ccc66057ce11a5217c730cee82900bc21644a6fd.zip
chromium_src-ccc66057ce11a5217c730cee82900bc21644a6fd.tar.gz
chromium_src-ccc66057ce11a5217c730cee82900bc21644a6fd.tar.bz2
Fix typo in unit test.
BUG=75237 TEST=ui_unittests --gtest_filter=PNGCodec.* TBR=tony@chromium.org Review URL: http://codereview.chromium.org/6852003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-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.