| Index: sky/engine/core/rendering/RenderReplaced.cpp
|
| diff --git a/sky/engine/core/rendering/RenderReplaced.cpp b/sky/engine/core/rendering/RenderReplaced.cpp
|
| index 1d80e373d8e9cc6a8f3184b5b7128f78a0372460..354c66619d978cab5584b55f9dc472bef70cd0cd 100644
|
| --- a/sky/engine/core/rendering/RenderReplaced.cpp
|
| +++ b/sky/engine/core/rendering/RenderReplaced.cpp
|
| @@ -441,22 +441,6 @@ PositionWithAffinity RenderReplaced::positionForPoint(const LayoutPoint& point)
|
| return RenderBox::positionForPoint(point);
|
| }
|
|
|
| -LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, bool clipToVisibleContent)
|
| -{
|
| - ASSERT(!needsLayout());
|
| -
|
| - if (!isSelected())
|
| - return LayoutRect();
|
| -
|
| - LayoutRect rect = localSelectionRect();
|
| - if (clipToVisibleContent)
|
| - mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
|
| - else
|
| - rect = localToContainerQuad(FloatRect(rect), paintInvalidationContainer).enclosingBoundingBox();
|
| -
|
| - return rect;
|
| -}
|
| -
|
| LayoutRect RenderReplaced::localSelectionRect(bool checkWhetherSelected) const
|
| {
|
| if (checkWhetherSelected && !isSelected())
|
|
|