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

Side by Side 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, 6 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 text_decoration_color_(o.text_decoration_color_), 170 text_decoration_color_(o.text_decoration_color_),
171 visited_link_text_decoration_color_( 171 visited_link_text_decoration_color_(
172 o.visited_link_text_decoration_color_), 172 o.visited_link_text_decoration_color_),
173 visited_link_background_color_(o.visited_link_background_color_), 173 visited_link_background_color_(o.visited_link_background_color_),
174 visited_link_outline_color_(o.visited_link_outline_color_), 174 visited_link_outline_color_(o.visited_link_outline_color_),
175 visited_link_border_left_color_(o.visited_link_border_left_color_), 175 visited_link_border_left_color_(o.visited_link_border_left_color_),
176 visited_link_border_right_color_(o.visited_link_border_right_color_), 176 visited_link_border_right_color_(o.visited_link_border_right_color_),
177 visited_link_border_top_color_(o.visited_link_border_top_color_), 177 visited_link_border_top_color_(o.visited_link_border_top_color_),
178 visited_link_border_bottom_color_(o.visited_link_border_bottom_color_), 178 visited_link_border_bottom_color_(o.visited_link_border_bottom_color_),
179 callback_selectors_(o.callback_selectors_), 179 callback_selectors_(o.callback_selectors_),
180 paint_images_(o.paint_images_ 180 paint_images_(o.paint_images_ ? new PaintImages(*o.paint_images_)
181 ? new Vector<Persistent<StyleImage>>(*o.paint_images_) 181 : nullptr),
182 : nullptr),
183 variables_(o.variables_ ? o.variables_->Clone() : nullptr), 182 variables_(o.variables_ ? o.variables_->Clone() : nullptr),
184 align_content_(o.align_content_), 183 align_content_(o.align_content_),
185 align_items_(o.align_items_), 184 align_items_(o.align_items_),
186 align_self_(o.align_self_), 185 align_self_(o.align_self_),
187 justify_content_(o.justify_content_), 186 justify_content_(o.justify_content_),
188 justify_items_(o.justify_items_), 187 justify_items_(o.justify_items_),
189 justify_self_(o.justify_self_), 188 justify_self_(o.justify_self_),
190 page_size_type_(o.page_size_type_), 189 page_size_type_(o.page_size_type_),
191 transform_style_3d_(o.transform_style_3d_), 190 transform_style_3d_(o.transform_style_3d_),
192 backface_visibility_(o.backface_visibility_), 191 backface_visibility_(o.backface_visibility_),
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 requires_accelerated_compositing_for_external_reasons_ == 291 requires_accelerated_compositing_for_external_reasons_ ==
293 o.requires_accelerated_compositing_for_external_reasons_ && 292 o.requires_accelerated_compositing_for_external_reasons_ &&
294 has_inline_transform_ == o.has_inline_transform_ && 293 has_inline_transform_ == o.has_inline_transform_ &&
295 resize_ == o.resize_ && 294 resize_ == o.resize_ &&
296 has_compositor_proxy_ == o.has_compositor_proxy_ && 295 has_compositor_proxy_ == o.has_compositor_proxy_ &&
297 has_author_background_ == o.has_author_background_ && 296 has_author_background_ == o.has_author_background_ &&
298 has_author_border_ == o.has_author_border_; 297 has_author_border_ == o.has_author_border_;
299 } 298 }
300 299
301 } // namespace blink 300 } // namespace blink
OLDNEW
« 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