| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 604faddf1545818dbbb2351d6a35125ef43d1c97..b5d59c0962a7ab4d08db998182f93640ea0b349b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2313,9 +2313,7 @@ bool LayoutBox::mapToVisualRectInAncestorSpace(
|
| // for painted elements within the transform since we don't know the desired
|
| // subpixel accumulation at this point, and the transform may include a
|
| // scale.
|
| - FloatRect floatRect =
|
| - rect.isEmpty() ? FloatRect(rect) : FloatRect(enclosingIntRect(rect));
|
| - rect = LayoutRect(layer()->transform()->mapRect(floatRect));
|
| + rect = LayoutRect(layer()->transform()->mapRect(enclosingIntRect(rect)));
|
| }
|
| LayoutPoint topLeft = rect.location();
|
| if (container->isBox()) {
|
|
|