Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
index 7f6b0f6a5c325f16557f2b4decb286c499b2eddb..8f2b791ec3162c24561aaefda0063be6ef630183 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
@@ -33,11 +33,12 @@ static LayoutRect slowMapToVisualRectInAncestorSpace( |
} |
LayoutRect result(rect); |
- if (object.isLayoutView()) |
+ if (object.isLayoutView()) { |
toLayoutView(object).mapToVisualRectInAncestorSpace( |
&ancestor, result, InputIsInFrameCoordinates, DefaultVisualRectFlags); |
- else |
- object.mapToVisualRectInAncestorSpace(&ancestor, result); |
+ } |
+ |
+ object.mapToVisualRectInAncestorSpace(&ancestor, result); |
return result; |
} |