Remove redundant platform-specific implementations of Image::drawPattern()
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Nov 2017 20:26:13 +0000 (20:26 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Nov 2017 20:26:13 +0000 (20:26 +0000)
commit8ede9ecc235a412732584627560b4759c945a3ff
treefcf6035fc6abb93f62eb6f208c2eb4ac48fbafe2
parent60a5e91e0c506ba21f70e918c08a4cd84b8430ba
Remove redundant platform-specific implementations of Image::drawPattern()
https://bugs.webkit.org/show_bug.cgi?id=179580

Reviewed by Sam Weinig.

Platform-specific Image files had implementations of Image::drawPattern() but they
were all effectively identical, so put a single implementation into Image.cpp.

* SourcesCocoa.txt:
* WebCore.xcodeproj/project.pbxproj:
* platform/SourcesCairo.txt:
* platform/graphics/Image.cpp:
(WebCore::Image::drawPattern):
* platform/graphics/cairo/ImageCairo.cpp: Removed.
* platform/graphics/cg/ImageCG.cpp: Removed.
* platform/graphics/win/ImageDirect2D.cpp:
(WebCore::Image::drawPattern): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/PlatformAppleWin.cmake
Source/WebCore/SourcesCocoa.txt
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/platform/SourcesCairo.txt
Source/WebCore/platform/graphics/Image.cpp
Source/WebCore/platform/graphics/cairo/ImageCairo.cpp [deleted file]
Source/WebCore/platform/graphics/cg/ImageCG.cpp [deleted file]
Source/WebCore/platform/graphics/win/ImageDirect2D.cpp