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

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

Issue 2825343003: Clean compositing inputs for location APIs for sticky-affected elements. (Closed)
Patch Set: Address reviewer comments Created 3 years, 8 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
Index: third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
index 0040dd108b49cfb6137302fcc4f3e0973d37b37f..97add76523f2c8039b4a42e5b02d20aa892e4edd 100644
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
@@ -102,6 +102,7 @@ StyleRareInheritedData::StyleRareInheritedData()
subtree_will_change_contents_(false),
self_or_ancestor_has_dir_auto_attribute_(false),
respect_image_orientation_(false),
+ is_in_sticky_subtree_(false),
hyphenation_limit_before(-1),
hyphenation_limit_after(-1),
hyphenation_limit_lines(-1),
@@ -170,6 +171,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
self_or_ancestor_has_dir_auto_attribute_(
o.self_or_ancestor_has_dir_auto_attribute_),
respect_image_orientation_(o.respect_image_orientation_),
+ is_in_sticky_subtree_(o.is_in_sticky_subtree_),
hyphenation_string(o.hyphenation_string),
hyphenation_limit_before(o.hyphenation_limit_before),
hyphenation_limit_after(o.hyphenation_limit_after),
@@ -238,6 +240,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const {
self_or_ancestor_has_dir_auto_attribute_ ==
o.self_or_ancestor_has_dir_auto_attribute_ &&
respect_image_orientation_ == o.respect_image_orientation_ &&
+ is_in_sticky_subtree_ == o.is_in_sticky_subtree_ &&
hyphenation_string == o.hyphenation_string &&
line_height_step_ == o.line_height_step_ &&
text_emphasis_custom_mark == o.text_emphasis_custom_mark &&

Powered by Google App Engine
This is Rietveld 408576698