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 a1a395249ffb86affc62651aae984b2faebcf49c..7b13835870d20bda9a7ea0a6d442b07b4ab1c584 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
@@ -499,11 +499,12 @@ static void slowMapToVisualRectInAncestorSpace( |
if (object.isBox()) |
toLayoutBox(&object)->flipForWritingMode(rect); |
- if (object.isLayoutView()) |
+ if (object.isLayoutView()) { |
toLayoutView(object).mapToVisualRectInAncestorSpace( |
&ancestor, rect, InputIsInFrameCoordinates, DefaultVisualRectFlags); |
- else |
+ } else { |
object.mapToVisualRectInAncestorSpace(&ancestor, rect); |
+ } |
} |
void PaintInvalidationState::mapLocalRectToPaintInvalidationContainer( |