Index: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
index 473e17f119e3699e616d60b6dcb54ea83f2ee7fd..ecc25a64c31c6cc8775f71fab0872cd5df04d66f 100644 |
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
@@ -157,8 +157,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData( |
content_(o.content_ ? o.content_->Clone() : nullptr), |
counter_directives_(o.counter_directives_ ? Clone(*o.counter_directives_) |
: nullptr), |
- animations_(o.animations_ ? CSSAnimationData::Create(*o.animations_) |
- : nullptr), |
+ animations_(o.animations_ ? o.animations_->Clone() : nullptr), |
transitions_(o.transitions_ ? o.transitions_->Clone() : nullptr), |
box_shadow_(o.box_shadow_), |
box_reflect_(o.box_reflect_), |