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+

Description Pratik Solanki 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.
Comment 1 Pratik Solanki 2012-05-18 15:53:14 PDT
<rdar://problem/11477182>
Comment 2 Pratik Solanki 2012-05-18 16:05:39 PDT
Created attachment 142811 [details]
Patch
Comment 3 Pratik Solanki 2012-05-18 16:34:08 PDT
Committed r117656: <http://trac.webkit.org/changeset/117656>