mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Delete unused paint invalidation function.
TBR=esprehn@chromium.org Review URL: https://codereview.chromium.org/856453002
This commit is contained in:
parent
5bca16603d
commit
3b4eb72066
@ -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();
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user