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 67de1739f8828d74229ca6dcce8f543b675d373a..dc6dce518eb4cdd94bc899c546b52fb05e99f313 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -779,6 +779,8 @@ public: |
// of flex box. crbug.com/226252. |
bool canHaveFirstLineOrFirstLetterStyle() const { return isLayoutBlockFlow() || isLayoutButton(); } |
+ bool hasFilterOrReflection() const; |
+ |
// This function returns the containing block of the object. |
// Due to CSS being inconsistent, a containing block can be a relatively |
// positioned inline, thus we can't return a LayoutBlock from this function. |
@@ -801,9 +803,9 @@ public: |
// |
// If |ancestor| and |ancestorSkipped| are not null, on return *ancestorSkipped |
// is true if the layoutObject returned is an ancestor of |ancestor|. |
- LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr) const; |
+ LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; |
// Finds the container as if this object is fixed-position. |
- LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr) const; |
+ LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; |
// Finds the containing block as if this object is absolute-position. |
LayoutBlock* containingBlockForAbsolutePosition() const; |
@@ -1621,7 +1623,7 @@ private: |
LayoutRect previousSelectionRectForPaintInvalidation() const; |
void setPreviousSelectionRectForPaintInvalidation(const LayoutRect&); |
- LayoutObject* containerForAbsolutePosition(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr) const; |
+ LayoutObject* containerForAbsolutePosition(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; |
const LayoutBoxModelObject* enclosingCompositedContainer() const; |