Chromium Code Reviews| 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_; |