For subframe PDFs, hand PDFKit the pageScaleFactor for the parent page so it can scale its drawing appropriately. <rdar://problem/12555249>
Created attachment 176078 [details] patch
Comment on attachment 176078 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=176078&action=review > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:323 > + float newScaleFactor = controller()->contentsScaleFactor(); Is float the correct type here?
(In reply to comment #2) > (From update of attachment 176078 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=176078&action=review > > > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:323 > > + float newScaleFactor = controller()->contentsScaleFactor(); > > Is float the correct type here? Nope. Thanks, Darin!
http://trac.webkit.org/changeset/135925