[Webkit-unassigned] [Bug 90755] New: Remove down-casting to BitmapImage in GraphicsContext::drawImage.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 8 23:56:43 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90755

           Summary: Remove down-casting to BitmapImage in
                    GraphicsContext::drawImage.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luxtella at company100.net


Add a BitmapImage draw method which takes RespectImageOrientationEnum enum as the last argument for CG. Then we can remove the conditional down-casting in GraphicsContext::drawImage.

This change is needed for parallel image decoders. Because parallel image decoders use a Bitmap image wrapper class which extends Image (not Bitmap), the down-casting above causes the loss of RespectImageOrientationEnum which must be passed to BitmapImage.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list