2009-05-26 Cameron Zwarich <zwarich@apple.com>
Reviewed by Maciej Stachowiak.
Bug 26035: Make ImageSource::frameHasAlphaAtIndex() return false for JPEGs with CG
<https://bugs.webkit.org/show_bug.cgi?id=26035>
<rdar://problem/6924087>
* platform/graphics/cg/ImageSourceCG.cpp:
(WebCore::ImageSource::frameHasAlphaAtIndex): return false if the image
is JPEG, there is no image type, or m_decoder is null.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed