Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index e96113c8527123bac9e23bd9410e148474f9f1a9..7b40d150debe9d6c1bb917b541c40f6b782c668f 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -2062,20 +2062,8 @@ void LayoutObject::mapLocalToContainer(const LayoutBoxModelObject* paintInvalida |
const LayoutObject* LayoutObject::pushMappingToContainer(const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap& geometryMap) const |
{ |
- ASSERT_UNUSED(ancestorToStopAt, ancestorToStopAt != this); |
- |
- LayoutObject* container = parent(); |
- if (!container) |
- return nullptr; |
- |
- // FIXME: this should call offsetFromContainer to share code, but I'm not sure it's ever called. |
- LayoutSize offset; |
- if (container->hasOverflowClip()) |
- offset = -LayoutSize(toLayoutBox(container)->scrolledContentOffset()); |
- |
- geometryMap.push(this, offset); |
- |
- return container; |
+ ASSERT_NOT_REACHED(); |
+ return nullptr; |
} |
void LayoutObject::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) const |