diff --git a/engine/core/rendering/RenderObject.cpp b/engine/core/rendering/RenderObject.cpp index 67626e7434a..66c11ec4743 100644 --- a/engine/core/rendering/RenderObject.cpp +++ b/engine/core/rendering/RenderObject.cpp @@ -2066,14 +2066,6 @@ bool RenderObject::canUpdateSelectionOnRootLineBoxes() return containingBlock ? !containingBlock->needsLayout() : false; } -// Returns the smallest rectangle enclosing all of the painted content -// respecting clipping, masking, filters, opacity, stroke-width and markers -FloatRect RenderObject::paintInvalidationRectInLocalCoordinates() const -{ - ASSERT_NOT_REACHED(); - return FloatRect(); -} - bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&, HitTestAction) { ASSERT_NOT_REACHED(); diff --git a/engine/core/rendering/RenderObject.h b/engine/core/rendering/RenderObject.h index 7db8dab0eec..fff79736b3b 100644 --- a/engine/core/rendering/RenderObject.h +++ b/engine/core/rendering/RenderObject.h @@ -311,10 +311,6 @@ public: setNeedsLayout(); } - // Returns the smallest rectangle enclosing all of the painted content - // respecting clipping, masking, filters, opacity, stroke-width and markers - virtual FloatRect paintInvalidationRectInLocalCoordinates() const; - // SVG uses FloatPoint precise hit testing, and passes the point in parent // coordinates instead of in paint invalidaiton container coordinates. Eventually the // rest of the rendering tree will move to a similar model.