Changeset 29753 in webkit
- Timestamp:
- Jan 23, 2008 4:47:00 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r29752 r29753 1 2008-01-23 David Kilzer <ddkilzer@apple.com> 2 3 <rdar://problem/5702947> WebCore: CGContextDrawPDFDocument will be deprecated 4 5 Reviewed by Darin. 6 7 No test cases added since there is no change in behavior. 8 9 * platform/graphics/cg/PDFDocumentImage.cpp: 10 (WebCore::PDFDocumentImage::draw): Replace CGContextDrawPDFDocument() with 11 calls to CG methods that perform the equivalent work. 12 1 13 2008-01-23 Antti Koivisto <antti@apple.com> 2 14 -
trunk/WebCore/platform/graphics/cg/PDFDocumentImage.cpp
r24970 r29753 166 166 adjustCTM(context); 167 167 168 // Media box may have non-zero origin which we ignore. Pass 1 for the page number. 169 CGContextDrawPDFDocument(context->platformContext(), FloatRect(FloatPoint(), m_mediaBox.size()), 170 m_document, m_currentPage + 1); 171 168 CGContextTranslateCTM(context->platformContext(), -m_mediaBox.x(), -m_mediaBox.y()); 169 CGContextDrawPDFPage(context->platformContext(), CGPDFDocumentGetPage(m_document, m_currentPage + 1)); 170 172 171 context->restore(); 173 172
Note: See TracChangeset
for help on using the changeset viewer.