| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index 10065298c61c4bfa389c2ea3cf25a5930036fb8a..4f8b434ff4238cd21d3a21f026aad80b845141cd 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1746,9 +1746,10 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
|
| }
|
|
|
| void setIsScrollAnchorObject() { m_bitfields.setIsScrollAnchorObject(true); }
|
| - // Clears the IsScrollAnchorObject bit, unless any ScrollAnchor still refers
|
| - // to us.
|
| - void maybeClearIsScrollAnchorObject();
|
| +
|
| + // If unconditionally is true, you are responsible for ensuring that
|
| + // no ScrollAnchors reference this LayoutObject.
|
| + void clearIsScrollAnchorObject(bool unconditionally = false);
|
|
|
| bool scrollAnchorDisablingStyleChanged() {
|
| return m_bitfields.scrollAnchorDisablingStyleChanged();
|
|
|