| Index: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| index 111f00ae4ba2c1698ee4c5d23587a4d43824c326..f5d7794dffb263b5e7623234a00e2cdd67b849b4 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| @@ -427,11 +427,11 @@ void PaintLayerClipper::calculateBackgroundClipRectWithGeometryMapper(
|
| // The total painting bounds includes any visual overflow (such as shadow) and
|
| // filter bounds.
|
| if (shouldClipOverflow(context)) {
|
| - FloatRect clipRect(localVisualRect());
|
| + FloatClipRect clipRect((FloatRect(localVisualRect())));
|
| clipRect.moveBy(FloatPoint(m_layer.layoutObject().paintOffset()));
|
| GeometryMapper::sourceToDestinationVisualRect(
|
| sourcePropertyTreeState, destinationPropertyTreeState, clipRect);
|
| - output.setRect(FloatClipRect(clipRect));
|
| + output.setRect(clipRect);
|
| } else {
|
| const FloatClipRect& clippedRectInRootLayerSpace =
|
| GeometryMapper::sourceToDestinationClipRect(
|
|
|