Bug 86915

Summary: BitmapImage::BitmapImage(CGImageRef, ImageObserver*) needs to set m_sizeRespectingOrientation
Product: WebKit Reporter: Pratik Solanki <psolanki>
Component: PlatformAssignee: Pratik Solanki <psolanki>
Status: RESOLVED FIXED    
Severity: Normal CC: psolanki, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch oliver: review+

Pratik Solanki
Reported 2012-05-18 15:51:24 PDT
The above constructor sets m_haveSize field of BitmapImage to true, but it fails to set m_sizeRespectingOrientation. Code that uses that constructor will fail to load image (because image size is 0x0) when shouldRespectImageOrientation is enabled.
Attachments
Patch (1.68 KB, patch)
2012-05-18 16:05 PDT, Pratik Solanki
oliver: review+
Pratik Solanki
Comment 1 2012-05-18 15:53:14 PDT
Pratik Solanki
Comment 2 2012-05-18 16:05:39 PDT
Pratik Solanki
Comment 3 2012-05-18 16:34:08 PDT
Note You need to log in before you can comment on or make changes to this bug.