Bug 58155 - BitmapImage::getFirstCGImageRefOfSize fails if the frameCount hasn't been initialized from the image source
Summary: BitmapImage::getFirstCGImageRefOfSize fails if the frameCount hasn't been ini...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-04-08 13:04 PDT by Brady Eidson
Modified: 2011-06-18 11:56 PDT (History)
1 user (show)

See Also:


Attachments
Patch v1 (1.49 KB, patch)
2011-04-08 13:07 PDT, Brady Eidson
aroben: review+
beidson: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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