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 7ec9c51f4b883e324eb9c95b7648f71c4b11c2e2..8a56c28376fcd49cf2c85d194e4a207b4f3376a5 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -1613,6 +1613,18 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
SET_VAR(m_rareNonInheritedData, m_scrollSnapType, b); |
} |
+ // scroll-boundary-behavior |
+ static ScrollBoundaryBehavior initialScrollBoundaryBehavior() { |
+ return ScrollBoundaryBehaviorPropagate; |
+ } |
+ ScrollBoundaryBehavior getScrollBoundaryBehavior() const { |
+ return static_cast<ScrollBoundaryBehavior>( |
+ m_rareNonInheritedData->m_scrollBoundaryBehavior); |
+ } |
+ void setScrollBoundaryBehavior(ScrollBoundaryBehavior b) { |
+ SET_VAR(m_rareNonInheritedData, m_scrollBoundaryBehavior, b); |
+ } |
+ |
// shape-image-threshold (aka -webkit-shape-image-threshold) |
static float initialShapeImageThreshold() { return 0; } |
float shapeImageThreshold() const { |