From 3b4eb72066286b171f2286e677d2bb57e6481360 Mon Sep 17 00:00:00 2001 From: Ojan Vafai Date: Wed, 14 Jan 2015 18:48:43 -0800 Subject: [PATCH] Delete unused paint invalidation function. TBR=esprehn@chromium.org Review URL: https://codereview.chromium.org/856453002 --- engine/core/rendering/RenderObject.cpp | 8 -------- engine/core/rendering/RenderObject.h | 4 ---- 2 files changed, 12 deletions(-) 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.