NEW 75770
WKPrintingView should avoid copying the PDF data
https://bugs.webkit.org/show_bug.cgi?id=75770
Summary WKPrintingView should avoid copying the PDF data
Mark Rowe (bdash)
Reported 2012-01-06 23:04:18 PST
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.