Make Length, LengthSize and LengthPoint blending not use member functions
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 May 2016 22:19:33 +0000 (22:19 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 May 2016 22:19:33 +0000 (22:19 +0000)
commit744e452d9b577b7212bd56b015228866d64a2d21
tree6de5f53281abc1c0eb54e336ad4d2e3115a5776c
parentc9cd72d642a1a68f186ea3cbf438eda1e8240db2
Make Length, LengthSize and LengthPoint blending not use member functions
https://bugs.webkit.org/show_bug.cgi?id=157281

Reviewed by Zalan Bujtas.

Having blend() be a member function is ambiguous because it's hard to tell which are
the 'from' and 'to' values. Fix Length, LengthSize and LengthPoint accordingly.

No behavior change.

* page/animation/CSSPropertyAnimation.cpp:
(WebCore::blendFunc):
* platform/Length.cpp:
(WebCore::blendMixedTypes):
(WebCore::blend):
(WebCore::Length::blendMixedTypes): Deleted.
* platform/Length.h:
(WebCore::Length::blend): Deleted.
* platform/LengthPoint.h:
(WebCore::blend):
(WebCore::LengthPoint::blend): Deleted.
* platform/LengthSize.h:
(WebCore::blend):
(WebCore::LengthSize::blend): Deleted.
* platform/graphics/filters/FilterOperation.cpp:
(WebCore::BlurFilterOperation::blend):
* platform/graphics/transforms/TranslateTransformOperation.cpp:
(WebCore::TranslateTransformOperation::blend):
* rendering/style/BasicShapes.cpp:
(WebCore::BasicShapePolygon::blend):
(WebCore::BasicShapeInset::blend):
* rendering/style/BasicShapes.h:
(WebCore::BasicShapeCenterCoordinate::blend):
(WebCore::BasicShapeRadius::blend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/animation/CSSPropertyAnimation.cpp
Source/WebCore/platform/Length.cpp
Source/WebCore/platform/Length.h
Source/WebCore/platform/LengthPoint.h
Source/WebCore/platform/LengthSize.h
Source/WebCore/platform/graphics/filters/FilterOperation.cpp
Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.cpp
Source/WebCore/rendering/style/BasicShapes.cpp
Source/WebCore/rendering/style/BasicShapes.h