12017-11-16 Antoine Quint <graouts@apple.com>
2
3 Clean up KeyframeEffect
4 https://bugs.webkit.org/show_bug.cgi?id=179777
5
6 Reviewed by NOBODY (OOPS!).
7
8 A few review comments came in after https://bugs.webkit.org/show_bug.cgi?id=179707 landed,
9 addressing them with this follow-up patch.
10
11 * animation/KeyframeEffect.cpp:
12 (WebCore::KeyframeEffect::create): Use "keyframeEffect" instead of "result" for clarity.
13 (WebCore::KeyframeEffect::processKeyframes): Use consistent index and length types while iterating
14 over properties in PropertyNameArray and explicitly size the properties array since we already
15 know its final size.
16 * dom/Element.cpp:
17 (WebCore::Element::getAnimations):
18