Stop using deprecated CADisplay SPI
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Feb 2018 08:00:57 +0000 (08:00 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Feb 2018 08:00:57 +0000 (08:00 +0000)
commite2a75ab61a18d2dc8c4fe15e4657ab6ab36fb280
tree34f0146e1c03053de435079fd95c8a856689b6ff
parent712e0d4aab341732760242f164edd13ff84f4b0a
Stop using deprecated CADisplay SPI
https://bugs.webkit.org/show_bug.cgi?id=183150
<rdar://problem/37918297>

Reviewed by Simon Fraser.

Source/WebCore/PAL:

* pal/spi/cocoa/QuartzCoreSPI.h:
Switch to the more modern way of getting the display name.

Source/WebKit:

* Platform/spi/ios/FrontBoardServicesSPI.h: Added.
* Platform/spi/ios/UIKitSPI.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _snapshotRect:intoImageOfWidth:completionHandler:]):
* WebKit.xcodeproj/project.pbxproj:
Switch to the more modern way of getting the display name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
Source/WebKit/ChangeLog
Source/WebKit/Platform/spi/ios/FrontBoardServicesSPI.h [new file with mode: 0644]
Source/WebKit/Platform/spi/ios/UIKitSPI.h
Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
Source/WebKit/WebKit.xcodeproj/project.pbxproj