[Webkit-unassigned] [Bug 159933] New: [iOS] REGRESSION(203378): PDFDocumentImage::updateCachedImageIfNeeded() uses the unscaled size when deciding whether to cache the PDF image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 11:49:46 PDT 2016


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

            Bug ID: 159933
           Summary: [iOS] REGRESSION(203378):
                    PDFDocumentImage::updateCachedImageIfNeeded() uses the
                    unscaled size when deciding whether to cache the PDF
                    image
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com

The r203378 did not actually fix the https://bugs.webkit.org/show_bug.cgi?id=158715 because although we have the right steps to decide whether to cache the PDF image or not, we are using the unscaled size which is wrong. The image has to be created scaled with the context.scaleFactor(). This may lead to allowing caching a PDF image which will cause the WebKit to jetsam on iOS.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160719/701da13e/attachment.html>


More information about the webkit-unassigned mailing list