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

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: Rebase 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/StyleRareInheritedData.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/StyleRareInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
index e9aaf87b80dbded443203cdf24537602f82d8e8b..ba99ef5c64c6126cc75fbb35db690c6bf5207f7e 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),
+ subtree_is_sticky_(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_),
+ subtree_is_sticky_(o.subtree_is_sticky_),
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_ &&
+ subtree_is_sticky_ == o.subtree_is_sticky_ &&
hyphenation_string_ == o.hyphenation_string_ &&
line_height_step_ == o.line_height_step_ &&
text_emphasis_custom_mark_ == o.text_emphasis_custom_mark_ &&
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698