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

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

Issue 2911343002: Make PaintImages 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/StyleRareNonInheritedData.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 327bb01b8ede4aa71753a04e61eff4b34a9af1eb..72b1d5bed51749df667d0f8437e12a5dd4f723d8 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -177,9 +177,8 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(
visited_link_border_top_color_(o.visited_link_border_top_color_),
visited_link_border_bottom_color_(o.visited_link_border_bottom_color_),
callback_selectors_(o.callback_selectors_),
- paint_images_(o.paint_images_
- ? new Vector<Persistent<StyleImage>>(*o.paint_images_)
- : nullptr),
+ paint_images_(o.paint_images_ ? new PaintImages(*o.paint_images_)
+ : nullptr),
variables_(o.variables_ ? o.variables_->Clone() : nullptr),
align_content_(o.align_content_),
align_items_(o.align_items_),
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698