Index: third_party/WebKit/Source/core/layout/LayoutTableCell.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.h b/third_party/WebKit/Source/core/layout/LayoutTableCell.h |
index fdd374daa6e2b88f4cc809a8ed8396831434ff61..73d34eb35fcc8bceb34c4c9523d5736eaa4aa8a9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.h |
@@ -288,6 +288,9 @@ class CORE_EXPORT LayoutTableCell final : public LayoutBlockFlow { |
void adjustChildDebugRect(LayoutRect&) const override; |
+ // A table cell's location is relative to its containing section. |
+ LayoutBox* locationContainer() const override { return section(); } |
+ |
protected: |
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
void computePreferredLogicalWidths() override; |