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

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

Issue 2907713002: Move RareNonInheritedData::*DataEquivalent to ComputedStyle. (Closed)
Patch Set: 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 | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
index 0e3c555919e4f6b44501bcb70cb271f3cc99888a..0a2c8af64ac45cf3cfd12af380123cb153fc66e2 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -235,13 +235,17 @@ bool StyleRareNonInheritedData::operator==(
transform_ == o.transform_ && will_change_ == o.will_change_ &&
filter_ == o.filter_ && backdrop_filter_ == o.backdrop_filter_ &&
grid_ == o.grid_ && grid_item_ == o.grid_item_ &&
- scroll_snap_ == o.scroll_snap_ && ContentDataEquivalent(o) &&
- CounterDataEquivalent(o) && ShadowDataEquivalent(o) &&
- ReflectionDataEquivalent(o) && AnimationDataEquivalent(o) &&
- TransitionDataEquivalent(o) && ShapeOutsideDataEquivalent(o) &&
- mask_ == o.mask_ && mask_box_image_ == o.mask_box_image_ &&
- page_size_ == o.page_size_ && shape_margin_ == o.shape_margin_ &&
- outline_ == o.outline_ && ClipPathDataEquivalent(o) &&
+ scroll_snap_ == o.scroll_snap_ &&
+ DataEquivalent(content_, o.content_) &&
+ DataEquivalent(counter_directives_, o.counter_directives_) &&
+ DataEquivalent(box_shadow_, o.box_shadow_) &&
+ DataEquivalent(box_reflect_, o.box_reflect_) &&
+ DataEquivalent(animations_, o.animations_) &&
+ DataEquivalent(transitions_, o.transitions_) &&
+ DataEquivalent(shape_outside_, o.shape_outside_) && mask_ == o.mask_ &&
+ mask_box_image_ == o.mask_box_image_ && page_size_ == o.page_size_ &&
+ shape_margin_ == o.shape_margin_ && outline_ == o.outline_ &&
+ DataEquivalent(clip_path_, o.clip_path_) &&
text_decoration_color_ == o.text_decoration_color_ &&
visited_link_text_decoration_color_ ==
o.visited_link_text_decoration_color_ &&
@@ -289,44 +293,4 @@ bool StyleRareNonInheritedData::operator==(
has_author_border_ == o.has_author_border_;
}
-bool StyleRareNonInheritedData::ContentDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(content_, o.content_);
-}
-
-bool StyleRareNonInheritedData::CounterDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(counter_directives_, o.counter_directives_);
-}
-
-bool StyleRareNonInheritedData::ShadowDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(box_shadow_, o.box_shadow_);
-}
-
-bool StyleRareNonInheritedData::ReflectionDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(box_reflect_, o.box_reflect_);
-}
-
-bool StyleRareNonInheritedData::AnimationDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(animations_, o.animations_);
-}
-
-bool StyleRareNonInheritedData::TransitionDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(transitions_, o.transitions_);
-}
-
-bool StyleRareNonInheritedData::ShapeOutsideDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(shape_outside_, o.shape_outside_);
-}
-
-bool StyleRareNonInheritedData::ClipPathDataEquivalent(
- const StyleRareNonInheritedData& o) const {
- return DataEquivalent(clip_path_, o.clip_path_);
-}
-
} // namespace blink
« 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