| Index: Source/core/rendering/RenderReplaced.cpp
|
| diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp
|
| index 5dcb16e56b2b07041b37af070d5735a2a3da5143..7ba36bb502dcdc91e4dee02b01836fe84fdb2752 100644
|
| --- a/Source/core/rendering/RenderReplaced.cpp
|
| +++ b/Source/core/rendering/RenderReplaced.cpp
|
| @@ -493,7 +493,7 @@ PositionWithAffinity RenderReplaced::positionForPoint(const LayoutPoint& point)
|
| return RenderBox::positionForPoint(point);
|
| }
|
|
|
| -LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, bool clipToVisibleContent) const
|
| +LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const
|
| {
|
| ASSERT(!needsLayout());
|
|
|
| @@ -501,12 +501,7 @@ LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerMo
|
| return LayoutRect();
|
|
|
| LayoutRect rect = localSelectionRect();
|
| - if (clipToVisibleContent)
|
| - mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
|
| - else
|
| - rect = localToContainerQuad(FloatRect(rect), paintInvalidationContainer).enclosingBoundingBox();
|
| -
|
| - return rect;
|
| + return localToContainerQuad(FloatRect(rect), paintInvalidationContainer).enclosingBoundingBox();
|
| }
|
|
|
| LayoutRect RenderReplaced::localSelectionRect(bool checkWhetherSelected) const
|
|
|