Chromium Code Reviews| Index: Source/core/css/resolver/StyleResolver.cpp |
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
| index 513d3bf90098caf2b1faeb9a0c6ae63d4a39c125..9ac5d962afd2df765dd18d7338e5b84799c487bd 100644 |
| --- a/Source/core/css/resolver/StyleResolver.cpp |
| +++ b/Source/core/css/resolver/StyleResolver.cpp |
| @@ -1247,8 +1247,7 @@ void StyleResolver::keyframeStylesForAnimation(Element* e, const RenderStyle* el |
| keyframeValue.setStyle(styleForKeyframe(elementStyle, keyframe, keyframeValue)); |
| // Add this keyframe style to all the indicated key times |
| - Vector<float> keys; |
| - keyframe->getKeys(keys); |
| + Vector<float> keys = keyframe->getKeys(); |
|
apavlov
2013/06/26 10:45:40
Vector<float>& keys = keyframe->getKeys();
to foll
|
| for (size_t keyIndex = 0; keyIndex < keys.size(); ++keyIndex) { |
| keyframeValue.setKey(keys[keyIndex]); |
| list.insert(keyframeValue); |