summaryrefslogtreecommitdiffstats
path: root/webkit/database
diff options
context:
space:
mode:
authornoel@chromium.org <noel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-04 08:09:20 +0000
committernoel@chromium.org <noel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-04 08:09:20 +0000
commit24258f8c58c172fe7ce59822752f9757ebb7e53c (patch)
tree82143864d471750dd092017dbf0b029906e08cac /webkit/database
parent5750c520339e4bd5ff202a1ce17be8e2c659be2b (diff)
downloadchromium_src-24258f8c58c172fe7ce59822752f9757ebb7e53c.zip
chromium_src-24258f8c58c172fe7ce59822752f9757ebb7e53c.tar.gz
chromium_src-24258f8c58c172fe7ce59822752f9757ebb7e53c.tar.bz2
When importing BGRA or RGBA data for encoding, provide variants of
the WEBPImportPicture API for RGBX and BRGX data meaning the alpha channel should be ignored. Note: the existing WEBPImportPictureRGBA|BGRA routines also ignore the alpha channel, but won't in a future version of libwebp. Thus, if WebKit continues using the existing routines, the alpha channel will be imported and encoded in libwebp.next, and hence will break canvas.toDataURL("image/webp") and its layout tests. BUG=130144 TEST=Webkit test pass when using the new functions. Review URL: https://chromiumcodereview.appspot.com/10496016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/database')
0 files changed, 0 insertions, 0 deletions