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

Side by Side 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, 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/CounterDirectives.cpp ('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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 flexible_box_(o.flexible_box_), 147 flexible_box_(o.flexible_box_),
148 multi_col_(o.multi_col_), 148 multi_col_(o.multi_col_),
149 transform_(o.transform_), 149 transform_(o.transform_),
150 will_change_(o.will_change_), 150 will_change_(o.will_change_),
151 filter_(o.filter_), 151 filter_(o.filter_),
152 backdrop_filter_(o.backdrop_filter_), 152 backdrop_filter_(o.backdrop_filter_),
153 grid_(o.grid_), 153 grid_(o.grid_),
154 grid_item_(o.grid_item_), 154 grid_item_(o.grid_item_),
155 scroll_snap_(o.scroll_snap_), 155 scroll_snap_(o.scroll_snap_),
156 content_(o.content_ ? o.content_->Clone() : nullptr), 156 content_(o.content_ ? o.content_->Clone() : nullptr),
157 counter_directives_(o.counter_directives_ ? Clone(*o.counter_directives_) 157 counter_directives_(o.counter_directives_ ? o.counter_directives_->Clone()
158 : nullptr), 158 : nullptr),
159 animations_(o.animations_ ? o.animations_->Clone() : nullptr), 159 animations_(o.animations_ ? o.animations_->Clone() : nullptr),
160 transitions_(o.transitions_ ? o.transitions_->Clone() : nullptr), 160 transitions_(o.transitions_ ? o.transitions_->Clone() : nullptr),
161 box_shadow_(o.box_shadow_), 161 box_shadow_(o.box_shadow_),
162 box_reflect_(o.box_reflect_), 162 box_reflect_(o.box_reflect_),
163 shape_outside_(o.shape_outside_), 163 shape_outside_(o.shape_outside_),
164 clip_path_(o.clip_path_), 164 clip_path_(o.clip_path_),
165 mask_(o.mask_), 165 mask_(o.mask_),
166 mask_box_image_(o.mask_box_image_), 166 mask_box_image_(o.mask_box_image_),
167 page_size_(o.page_size_), 167 page_size_(o.page_size_),
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 requires_accelerated_compositing_for_external_reasons_ == 288 requires_accelerated_compositing_for_external_reasons_ ==
289 o.requires_accelerated_compositing_for_external_reasons_ && 289 o.requires_accelerated_compositing_for_external_reasons_ &&
290 has_inline_transform_ == o.has_inline_transform_ && 290 has_inline_transform_ == o.has_inline_transform_ &&
291 resize_ == o.resize_ && 291 resize_ == o.resize_ &&
292 has_compositor_proxy_ == o.has_compositor_proxy_ && 292 has_compositor_proxy_ == o.has_compositor_proxy_ &&
293 has_author_background_ == o.has_author_background_ && 293 has_author_background_ == o.has_author_background_ &&
294 has_author_border_ == o.has_author_border_; 294 has_author_border_ == o.has_author_border_;
295 } 295 }
296 296
297 } // namespace blink 297 } // namespace blink
OLDNEW
« 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