-
fmalita@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=112827 Reviewed by Stephen Chenney. Convert LightSource setters to dynamic dispatch. This allows us to remove LightSource.cpp altogether. No new tests: refactoring only. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * platform/graphics/filters/DistantLightSource.h: (DistantLightSource): * platform/graphics/filters/LightSource.cpp: Removed. * platform/graphics/filters/LightSource.h: (WebCore::LightSource::setAzimuth): (WebCore::LightSource::setElevation): (WebCore::LightSource::setX): (WebCore::LightSource::setY): (WebCore::LightSource::setZ): (WebCore::LightSource::setPointsAtX): (WebCore::LightSource::setPointsAtY): (WebCore::LightSource::setPointsAtZ): (WebCore::LightSource::setSpecularExponent): (WebCore::LightSource::setLimitingConeAngle): * platform/graphics/filters/PointLightSource.h: (PointLightSource): * platform/graphics/filters/SpotLightSource.h: (SpotLightSource): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
96b9c2db