Bug 58155

Summary: BitmapImage::getFirstCGImageRefOfSize fails if the frameCount hasn't been initialized from the image source
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: darin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1 aroben: review+, beidson: commit-queue-

Description Brady Eidson 2011-04-08 13:04:40 PDT
BitmapImage::getFirstCGImageRefOfSize fails if the frameCount hasn't been initialized from the image source

The method looped over m_frames.size() directly, when it should really use the frameCount() method so the frame count is properly initialized.

<rdar://problem/9251767>
Comment 1 Brady Eidson 2011-04-08 13:07:51 PDT
Created attachment 88865 [details]
Patch v1
Comment 2 Darin Adler 2011-06-18 11:56:49 PDT
r83339