Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Guard code that uses class LayerTreeHost with USE(COORDINATED_GRAPHIC…
…S) or USE(TEXTURE_MAPPER) https://bugs.webkit.org/show_bug.cgi?id=152265 Reviewed by Tim Horton. We neither make use of LayerTreeHost on Mac nor on iOS. We should guard code that makes use of this class as applicable. This also fixes the iOS Simulator build when using Apple Internal software. * WebProcess/WebCoreSupport/WebChromeClient.cpp: Guard code that used LayerTreeHost. * WebProcess/WebPage/LayerTreeHost.cpp: Guard contents of file with USE(COORDINATED_GRAPHICS) || USE(TEXTURE_MAPPER). * WebProcess/WebPage/LayerTreeHost.h: Ditto. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::scalePage): Ditto. (WebKit::WebPage::setDeviceScaleFactor): Ditto. * WebProcess/WebPage/WebPage.h: Substitute header LayerTreeContext.h for LayerTreeHost.h since we make use of the enum class LayerHostingMode. * WebProcess/WebPage/ios/WebPageIOS.mm: (WebKit::WebPage::updateVisibleContentRects): Remove unnecessary code; DrawingArea::layerTreeHost() always returns nullptr on iOS. Canonical link: https://commits.webkit.org/170415@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
45 additions
and 6 deletions.
- +23 −0 Source/WebKit2/ChangeLog
- +4 −1 Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
- +5 −0 Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp
- +4 −0 Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h
- +8 −1 Source/WebKit2/WebProcess/WebPage/WebPage.cpp
- +1 −1 Source/WebKit2/WebProcess/WebPage/WebPage.h
- +0 −3 Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters