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 c6697f74031bf3c15fb8e506454cf652bc2cda6f..313dce1f69032d3ea3975a7032affc3c46a10b89 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -770,6 +770,7 @@ public: |
// the layoutObject returned is an ancestor of |paintInvalidationContainer|. |
LayoutObject* container(const LayoutBoxModelObject* paintInvalidationContainer = nullptr, bool* paintInvalidationContainerSkipped = nullptr) const; |
LayoutObject* containerCrossingFrameBoundaries() const; |
+ // Finds the container as if this object is a fixed position element. |
LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* paintInvalidationContainer = nullptr, bool* paintInvalidationContainerSkipped = nullptr) const; |
LayoutBlock* containingBlockForAbsolutePosition() const; |
chrishtr
2015/10/30 20:45:51
Add the same type of comment here as for fixed pos
Xianzhu
2015/10/30 20:52:15
Done.
|
@@ -1504,7 +1505,7 @@ private: |
inline void invalidateContainerPreferredLogicalWidths(); |
- void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObject& paintInvalidationContainer, PaintInvalidationReason) const; |
+ void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObject& paintInvalidationContainer, PaintInvalidationReason); |
LayoutRect previousSelectionRectForPaintInvalidation() const; |
void setPreviousSelectionRectForPaintInvalidation(const LayoutRect&); |