Bug 86915 - BitmapImage::BitmapImage(CGImageRef, ImageObserver*) needs to set m_sizeRespectingOrientation
Summary: BitmapImage::BitmapImage(CGImageRef, ImageObserver*) needs to set m_sizeRespe...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Pratik Solanki
Keywords: InRadar
Depends on:
Reported: 2012-05-18 15:51 PDT by Pratik Solanki
Modified: 2012-05-18 16:34 PDT (History)
2 users (show)

See Also:

Patch (1.68 KB, patch)
2012-05-18 16:05 PDT, Pratik Solanki
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 Pratik Solanki 2012-05-18 16:05:39 PDT
Created attachment 142811 [details]
Comment 3 Pratik Solanki 2012-05-18 16:34:08 PDT
Committed r117656: <http://trac.webkit.org/changeset/117656>