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

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

Issue 2893243002: Add missing data members in StyleRareNonInheritedData copy constructor. (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 | « 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/style/StyleRareNonInheritedData.h
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
index 2b7cf9ab4e0cf89bc39b51b02e9e1f974a18e00e..c7ed0321aec53785c1a651c20d10551f94f725cc 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
@@ -74,6 +74,8 @@ enum PageSizeType {
PAGE_SIZE_RESOLVED // Size is fully resolved.
};
+using PaintImages = Vector<Persistent<StyleImage>>;
meade_UTC10 2017/05/31 05:59:45 Do you expect PaintImages to be used by anything o
shend 2017/05/31 06:58:25 Done.
+
// This struct is for rarely used non-inherited CSS3, CSS2, and WebKit-specific
// properties. By grouping them together, we save space, and only allocate this
// object when someone actually uses one of these properties.
@@ -169,7 +171,7 @@ class CORE_EXPORT StyleRareNonInheritedData
Vector<String> callback_selectors_;
- std::unique_ptr<Vector<Persistent<StyleImage>>> paint_images_;
+ std::unique_ptr<PaintImages> paint_images_;
std::unique_ptr<StyleNonInheritedVariables> variables_;
« 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