Fix the Apple Internal OS X build
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2016 18:41:50 +0000 (18:41 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2016 18:41:50 +0000 (18:41 +0000)
commit00ae267a8e1335bd334199a7356af6546412a759
tree3819b99f571d4397f6184b419f62eb92d5f06306
parent5e83f160743b792cf958ed3ac76a72721ec36fcb
Fix the Apple Internal OS X build

Source/WebCore:

* platform/graphics/mac/PDFDocumentImageMac.mm:
(WebCore::PDFDocumentImage::drawPDFPage): Ignore deprecation warning for -[PDFPage drawWithBox:].

Source/WebKit/mac:

* WebView/WebPDFView.h: Import PDFKit for definition of protocol PDFViewDelegate.
Forward declare protocol PDFViewDelegate as appropriate. Mark WebPDFView as implementing
protocol PDFViewDelegate.
* WebView/WebPDFView.mm: Move import of PDFKit from here to the header.

Source/WebKit2:

* UIProcess/mac/WKPrintingView.mm:
(-[WKPrintingView _drawPDFDocument:page:atPoint:]): Ignore deprecation warning for -[PDFPage drawWithBox:].
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::drawPDFPage): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebPDFView.h
Source/WebKit/mac/WebView/WebPDFView.mm
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/mac/WKPrintingView.mm
Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm