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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 77a3e506ed808ccb2e383dff2070fb6667c8ba65..05ecf9dce450805ef381d7c7de6981980d55cb82 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1535,6 +1535,14 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(rare_non_inherited_data_, page_size_type_, t);
}
+ // sticky subtrees
+ bool SubtreeIsSticky() const {
+ return rare_inherited_data_->subtree_is_sticky_;
+ }
+ void SetSubtreeIsSticky(bool b) {
+ SET_VAR(rare_inherited_data_, subtree_is_sticky_, b);
+ }
+
// Text decoration properties.
// text-decoration-line
static TextDecoration InitialTextDecoration() { return kTextDecorationNone; }
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698