-
https://bugs.webkit.org/show_bug.cgi?id=58155rdar://problem/9251767beidson@apple.com authored
BitmapImage::getFirstCGImageRefOfSize fails if the frameCount hasn't been initialized from the image source. Reviewed by Adam Roben. * platform/graphics/cg/ImageCG.cpp: (WebCore::BitmapImage::getFirstCGImageRefOfSize): Call frameCount() instead of accessing m_frames.size() to make sure the frames are properly tallied first. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4cb8f643