2009-07-30 Simon Fraser <simon.fraser@apple.com>

        Minor change to earlier commit suggested by Darin Adler.
        Use the variable rather than dereferencing 'it' again.

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::keyframeStylesForAnimation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b8791122
...@@ -13,6 +13,14 @@ ...@@ -13,6 +13,14 @@
(WebCore::AXObjectCache::postNotification): (WebCore::AXObjectCache::postNotification):
* accessibility/AXObjectCache.h: * accessibility/AXObjectCache.h:
2009-07-30 Simon Fraser <simon.fraser@apple.com>
Minor change to earlier commit suggested by Darin Adler.
Use the variable rather than dereferencing 'it' again.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::keyframeStylesForAnimation):
2009-07-30 Simon Fraser <simon.fraser@apple.com> 2009-07-30 Simon Fraser <simon.fraser@apple.com>
Reviewed by Dan Bernstein. Reviewed by Dan Bernstein.
......
...@@ -1323,7 +1323,7 @@ void CSSStyleSelector::keyframeStylesForAnimation(Element* e, const RenderStyle* ...@@ -1323,7 +1323,7 @@ void CSSStyleSelector::keyframeStylesForAnimation(Element* e, const RenderStyle*
// Timing-function within keyframes is special, because it is not animated; it just // Timing-function within keyframes is special, because it is not animated; it just
// describes the timing function between this keyframe and the next. // describes the timing function between this keyframe and the next.
if (property != CSSPropertyWebkitAnimationTimingFunction) if (property != CSSPropertyWebkitAnimationTimingFunction)
list.addProperty((*it).id()); list.addProperty(property);
} }
// Add this keyframe style to all the indicated key times // Add this keyframe style to all the indicated key times
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment