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

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

Issue 2907063002: Make CounterDirectiveMap a class and implement a 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
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 7a26d696dea54e571ebb85c185a2309e4a5f4f64..550fc04e03aa0f361eead303e7b270c96dd62e88 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -154,7 +154,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(
grid_item_(o.grid_item_),
scroll_snap_(o.scroll_snap_),
content_(o.content_ ? o.content_->Clone() : nullptr),
- counter_directives_(o.counter_directives_ ? Clone(*o.counter_directives_)
+ counter_directives_(o.counter_directives_ ? o.counter_directives_->Clone()
: nullptr),
animations_(o.animations_ ? o.animations_->Clone() : nullptr),
transitions_(o.transitions_ ? o.transitions_->Clone() : nullptr),

Powered by Google App Engine
This is Rietveld 408576698