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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSTransitionData.h

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 | « no previous file | third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h b/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
index cb88837f4b8d98815bff2486f10a29fb879433bc..5bbac4fb0768ada677f736b45c11dbeb40db2465 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
@@ -54,9 +54,8 @@ class CSSTransitionData final : public CSSTimingData {
return WTF::WrapUnique(new CSSTransitionData);
}
- static std::unique_ptr<CSSTransitionData> Create(
- const CSSTransitionData& transition_data) {
- return WTF::WrapUnique(new CSSTransitionData(transition_data));
+ std::unique_ptr<CSSTransitionData> Clone() {
+ return WTF::WrapUnique(new CSSTransitionData(*this));
}
bool TransitionsMatchForStyleRecalc(const CSSTransitionData& other) const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698