commit | daeee065f0e041a75acc033b4563bbb70832c1eb | [log] [tgz] |
---|---|---|
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Fri May 24 19:25:57 2013 |
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Fri May 24 19:25:57 2013 |
tree | cf3b18095d469b75e52ecf040c5eb9de61d8a229 | |
parent | 06584c429d6a57de541ad66fbdfd3804aed2b1a7 [diff] |
BuildLumaHistogram() attempts to access Skia pixel data directly. This isn't correct because the data may need to be unpremultiplied. Use the appropriate functions for doing this. BUG=none TEST=none R=erg@chromium.org, reed@google.com, sky@chromium.org Review URL: https://codereview.chromium.org/15915005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202144 0039d316-1c4b-4281-b951-d872f2087c98