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

Issue 150107: Reland of r19131, this time with real Math:... (Closed)

Created:
11 years, 5 months ago by Glen Murphy
Modified:
9 years, 5 months ago
Reviewers:
CC:
chromium-reviews_googlegroups.com, brettw, Ben Goodger (Google)
Visibility:
Public.

Description

Reland of r19131, this time with real Math: PNGDecoder wasn't multiplying the alpha like PNGEncoder was. This lead to color overflow. This intermediate fix makes everything correct, but will make alphaed pixels slightly darker until the user's cache is flushed (I have screenshots of the effect). BUG=13360 TEST=Run base_unittests.exe --gtest_filter=*PNG* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19589

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -9 lines) Patch
M base/gfx/png_codec_unittest.cc View 3 chunks +47 lines, -0 lines 0 comments Download
M base/gfx/png_decoder.cc View 2 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/webdata/web_database_unittest.cc View 2 chunks +14 lines, -6 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698