-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120771 Reviewed by Anders Carlsson. * platform/graphics/cg/PDFDocumentImage.cpp: (WebCore::PDFDocumentImage::createPDFDocument): Use the (removed in r155069) PLATFORM(MAC) way of making a CGDataProvider from a SharedBuffer everywhere; this is what iOS was expecting to use (where I accidentally changed behavior), and it should also work for Windows, the only other USE(CG) platform. Since we only createPDFDocument() after all data has been received, I'm not restoring the comment about the SharedBuffer being secretly written to behind its back. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b4e37ade