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

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

Issue 2886373002: Replace CSSTransitionData::Create(CSSTransition) with clone method. (Closed)
Patch Set: 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/CSSTransitionData.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 ff44903c283b81cb50276ab5b1110e3e753874ae..473e17f119e3699e616d60b6dcb54ea83f2ee7fd 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -159,8 +159,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(
: nullptr),
animations_(o.animations_ ? CSSAnimationData::Create(*o.animations_)
: nullptr),
- transitions_(o.transitions_ ? CSSTransitionData::Create(*o.transitions_)
- : nullptr),
+ transitions_(o.transitions_ ? o.transitions_->Clone() : nullptr),
box_shadow_(o.box_shadow_),
box_reflect_(o.box_reflect_),
shape_outside_(o.shape_outside_),
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSTransitionData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698