[Webkit-unassigned] [Bug 75770] New: WKPrintingView should avoid copying the PDF data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 6 23:04:17 PST 2012


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

           Summary: WKPrintingView should avoid copying the PDF data
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Printing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrowe at apple.com


In <http://trac.webkit.org/changeset/104377> we switched to copying bytes from a Vector<char> in to an NSData*. It should be possible to use -initWithBytesNoCopy:length:freeWhenDone: to avoid copying. This may require changing some of the assumptions about the state of _printedPagesData as it is likely to require transferring ownership of the buffer to the NSData instance.

-- 
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