Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index ca52d258eeabb66f7353e856939b932881e1c417..631a6a150e246bb2782e63120f5c84cdc5600211 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -873,9 +873,11 @@ public: |
return; |
rect.setX(m_frameRect.width() - rect.maxX()); |
} |
- // These represent your location relative to your container as a physical offset. |
- // In layout related methods you almost always want the logical location (e.g. x() and y()). |
- LayoutPoint topLeftLocation() const; |
+ // These represent your location relative to your container as a physical |
+ // offset. In layout related methods you almost always want the logical |
+ // location (e.g. x() and y()). Passing |container| causes flipped-block |
+ // flipping w.r.t. that container, or containingBlock() otherwise. |
+ LayoutPoint topLeftLocation(const LayoutBox* flippedBlocksContainer = nullptr) const; |
LayoutSize topLeftLocationOffset() const { return toLayoutSize(topLeftLocation()); } |
LayoutRect logicalVisualOverflowRectForPropagation(const ComputedStyle&) const; |