Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
index 4dc1e459864edb455fe666e15d22864f951ecedb..d088bb8225104d6ee00b7f6a0cd389723898118b 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -2298,9 +2298,6 @@ IntRect CompositedLayerMapping::recomputeInterestRect(const GraphicsLayer* graph |
// Start with the bounds of the graphics layer in the space of the anchor LayoutObject. |
FloatRect graphicsLayerBoundsInObjectSpace(graphicsLayerBounds); |
graphicsLayerBoundsInObjectSpace.move(offsetFromAnchorLayoutObject); |
- // The object space means including writing mode flip. |
- if (anchorLayoutObject->isBox()) |
- toLayoutBox(anchorLayoutObject)->flipForWritingMode(graphicsLayerBoundsInObjectSpace); |
// Now map the bounds to its visible content rect in screen space, including applying clips along the way. |
LayoutRect visibleContentRect(graphicsLayerBoundsInObjectSpace); |