Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp

Issue 2886893007: Replace CSSAnimationData::Create(CSSAnimation) with clone method. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimationData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_),
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimationData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698