| Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| index 01ccaf4b1932105d0aba00eae837d25d195199a2..75d764d067454a55eeb7758f00c4bf261831c174 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| @@ -324,9 +324,6 @@ static void slowMapToVisualRectInAncestorSpace(const LayoutObject& object, const
|
| {
|
| if (object.isLayoutView()) {
|
| toLayoutView(object).mapToVisualRectInAncestorSpace(&ancestor, rect, InputIsInFrameCoordinates, DefaultVisualRectFlags);
|
| - } else if (object.isSVGRoot()) {
|
| - // TODO(crbug.com/597813): This is to avoid the extra clip applied in LayoutSVGRoot::mapVisibleRectInAncestorSpace().
|
| - toLayoutSVGRoot(object).LayoutReplaced::mapToVisualRectInAncestorSpace(&ancestor, rect);
|
| } else {
|
| object.mapToVisualRectInAncestorSpace(&ancestor, rect);
|
| }
|
|
|