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

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

Issue 2907063002: Make CounterDirectiveMap a class and implement a 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/style/CounterDirectives.cpp ('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 5ec10225d42a45abad425723106a7dca7d73a7a0..c5f5becadbe0317ac4da645beb7660f485150f08 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),
« no previous file with comments | « third_party/WebKit/Source/core/style/CounterDirectives.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698