OLD | NEW |
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 filter_(o.filter_), | 152 filter_(o.filter_), |
153 backdrop_filter_(o.backdrop_filter_), | 153 backdrop_filter_(o.backdrop_filter_), |
154 grid_(o.grid_), | 154 grid_(o.grid_), |
155 grid_item_(o.grid_item_), | 155 grid_item_(o.grid_item_), |
156 scroll_snap_(o.scroll_snap_), | 156 scroll_snap_(o.scroll_snap_), |
157 content_(o.content_ ? o.content_->Clone() : nullptr), | 157 content_(o.content_ ? o.content_->Clone() : nullptr), |
158 counter_directives_(o.counter_directives_ ? Clone(*o.counter_directives_) | 158 counter_directives_(o.counter_directives_ ? Clone(*o.counter_directives_) |
159 : nullptr), | 159 : nullptr), |
160 animations_(o.animations_ ? CSSAnimationData::Create(*o.animations_) | 160 animations_(o.animations_ ? CSSAnimationData::Create(*o.animations_) |
161 : nullptr), | 161 : nullptr), |
162 transitions_(o.transitions_ ? CSSTransitionData::Create(*o.transitions_) | 162 transitions_(o.transitions_ ? o.transitions_->Clone() : nullptr), |
163 : nullptr), | |
164 box_shadow_(o.box_shadow_), | 163 box_shadow_(o.box_shadow_), |
165 box_reflect_(o.box_reflect_), | 164 box_reflect_(o.box_reflect_), |
166 shape_outside_(o.shape_outside_), | 165 shape_outside_(o.shape_outside_), |
167 clip_path_(o.clip_path_), | 166 clip_path_(o.clip_path_), |
168 mask_(o.mask_), | 167 mask_(o.mask_), |
169 mask_box_image_(o.mask_box_image_), | 168 mask_box_image_(o.mask_box_image_), |
170 page_size_(o.page_size_), | 169 page_size_(o.page_size_), |
171 shape_margin_(o.shape_margin_), | 170 shape_margin_(o.shape_margin_), |
172 outline_(o.outline_), | 171 outline_(o.outline_), |
173 text_decoration_color_(o.text_decoration_color_), | 172 text_decoration_color_(o.text_decoration_color_), |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 const StyleRareNonInheritedData& o) const { | 349 const StyleRareNonInheritedData& o) const { |
351 return DataEquivalent(shape_outside_, o.shape_outside_); | 350 return DataEquivalent(shape_outside_, o.shape_outside_); |
352 } | 351 } |
353 | 352 |
354 bool StyleRareNonInheritedData::ClipPathDataEquivalent( | 353 bool StyleRareNonInheritedData::ClipPathDataEquivalent( |
355 const StyleRareNonInheritedData& o) const { | 354 const StyleRareNonInheritedData& o) const { |
356 return DataEquivalent(clip_path_, o.clip_path_); | 355 return DataEquivalent(clip_path_, o.clip_path_); |
357 } | 356 } |
358 | 357 |
359 } // namespace blink | 358 } // namespace blink |
OLD | NEW |