| Index: Source/core/css/StyleResolver.cpp
|
| diff --git a/Source/core/css/StyleResolver.cpp b/Source/core/css/StyleResolver.cpp
|
| index 8eb283c39fb220c193d9fbf23f2b1bbe8b2af7ed..ec88be0aa82cb91463341679eb3e5b9545a62644 100644
|
| --- a/Source/core/css/StyleResolver.cpp
|
| +++ b/Source/core/css/StyleResolver.cpp
|
| @@ -1098,8 +1098,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();
|
| for (size_t keyIndex = 0; keyIndex < keys.size(); ++keyIndex) {
|
| keyframeValue.setKey(keys[keyIndex]);
|
| list.insert(keyframeValue);
|
|
|