| 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 acb7b3f50585e036b731d7fd1f9d651d06f9a5a5..27e43f4ebc37919a67627c668b7a0bb595596e28 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2311,9 +2311,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()) {
|
|
|