| 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 96fe94dd115a0cc4288aa04e12de721f860e13bf..ec8885b0eed0c36f740b283418e2b169153383be 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| @@ -103,13 +103,11 @@ static void applyClipRects(const ClipRectsContext& context,
|
| }
|
| if (box.hasClip()) {
|
| LayoutRect newClip = box.clipRect(offset);
|
| - clipRects.setPosClipRect(
|
| - intersection(newClip, clipRects.posClipRect()).setIsClippedByClipCss());
|
| + clipRects.setPosClipRect(intersection(newClip, clipRects.posClipRect()));
|
| clipRects.setOverflowClipRect(
|
| - intersection(newClip, clipRects.overflowClipRect())
|
| - .setIsClippedByClipCss());
|
| - clipRects.setFixedClipRect(intersection(newClip, clipRects.fixedClipRect())
|
| - .setIsClippedByClipCss());
|
| + intersection(newClip, clipRects.overflowClipRect()));
|
| + clipRects.setFixedClipRect(
|
| + intersection(newClip, clipRects.fixedClipRect()));
|
| }
|
| }
|
|
|
| @@ -384,9 +382,7 @@ void PaintLayerClipper::calculateRects(
|
| // Clip applies to *us* as well, so go ahead and update the damageRect.
|
| LayoutRect newPosClip = toLayoutBox(layoutObject).clipRect(offset);
|
| backgroundRect.intersect(newPosClip);
|
| - backgroundRect.setIsClippedByClipCss();
|
| foregroundRect.intersect(newPosClip);
|
| - foregroundRect.setIsClippedByClipCss();
|
| }
|
| }
|
|
|
|
|