WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug