| Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| index d7d7cdb1ae7e1d8fa87a293786686914c7cb5244..45976a49430ea4bbca8d68c0a538da5d6aebc08a 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -371,8 +371,9 @@ PaintResult PaintLayerPainter::paintLayerContents(
|
| // scrolling contents and scrollbars.
|
| if (m_paintLayer.layoutObject()->hasClipPath() &&
|
| (!m_paintLayer.needsCompositedScrolling() ||
|
| - (paintFlags & (PaintLayerPaintingChildClippingMaskPhase |
|
| - PaintLayerPaintingAncestorClippingMaskPhase)))) {
|
| + (paintFlags &
|
| + (PaintLayerPaintingChildClippingMaskPhase |
|
| + PaintLayerPaintingAncestorClippingMaskPhase)))) {
|
| paintingInfo.ancestorHasClipPathClipping = true;
|
|
|
| LayoutRect referenceBox(m_paintLayer.boxForClipPath());
|
| @@ -579,8 +580,9 @@ PaintResult PaintLayerPainter::paintLayerContents(
|
| shouldPaintContent && m_paintLayer.layoutObject()->hasMask() &&
|
| !selectionOnly;
|
| bool shouldPaintClippingMask =
|
| - (paintFlags & (PaintLayerPaintingChildClippingMaskPhase |
|
| - PaintLayerPaintingAncestorClippingMaskPhase)) &&
|
| + (paintFlags &
|
| + (PaintLayerPaintingChildClippingMaskPhase |
|
| + PaintLayerPaintingAncestorClippingMaskPhase)) &&
|
| shouldPaintContent && !selectionOnly;
|
|
|
| if (shouldPaintMask) {
|
| @@ -813,8 +815,9 @@ PaintResult PaintLayerPainter::paintFragmentByApplyingTransform(
|
|
|
| // Now do a paint with the root layer shifted to be us.
|
| PaintLayerPaintingInfo transformedPaintingInfo(
|
| - &m_paintLayer, LayoutRect(enclosingIntRect(transform.inverse().mapRect(
|
| - paintingInfo.paintDirtyRect))),
|
| + &m_paintLayer,
|
| + LayoutRect(enclosingIntRect(
|
| + transform.inverse().mapRect(paintingInfo.paintDirtyRect))),
|
| paintingInfo.getGlobalPaintFlags(), adjustedSubPixelAccumulation);
|
| transformedPaintingInfo.ancestorHasClipPathClipping =
|
| paintingInfo.ancestorHasClipPathClipping;
|
|
|