| 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 6270c5476ec627376575d63bbfc22d7962703389..1fe2d7f53d7763d986ad716a38f9f8220158ce0c 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| @@ -286,11 +286,6 @@ LayoutRect PaintInvalidationState::computePaintInvalidationRectInBackingForSVG()
|
|
|
| static void slowMapToVisualRectInAncestorSpace(const LayoutObject& object, const LayoutBoxModelObject& ancestor, LayoutRect& rect)
|
| {
|
| - // TODO(crbug.com/597965): LayoutBox::mapToVisualRectInAncestorSpace() incorrectly flips a rect
|
| - // in its own space for writing mode. Here flip to workaround the flip.
|
| - if (object.isBox() && (toLayoutBox(object).isWritingModeRoot() || (ancestor == object && object.styleRef().isFlippedBlocksWritingMode())))
|
| - toLayoutBox(object).flipForWritingMode(rect);
|
| -
|
| if (object.isLayoutView()) {
|
| toLayoutView(object).mapToVisualRectInAncestorSpace(&ancestor, rect, InputIsInFrameCoordinates, DefaultVisualRectFlags);
|
| } else if (object.isSVGRoot()) {
|
|
|