Chromium Code Reviews| 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 44474e5be734767a26b67bda27c7b6d2c520d930..d1d890aa1507419d466f6eb6422bf1ef3596cb80 100644 |
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp |
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp |
| @@ -510,6 +510,10 @@ void PaintLayerClipper::applyOverflowClipToBackgroundRectWithGeometryMapper( |
| ClipRect PaintLayerClipper::backgroundClipRect( |
| const ClipRectsContext& context) const { |
| if (m_geometryMapper) { |
| + // TODO(chrishtr): fix the underlying bug that causes this situation. |
| + if (!m_layer.layoutObject()->paintProperties()) |
| + return ClipRect(LayoutRect(LayoutRect::infiniteIntRect())); |
|
Nico
2017/02/17 21:14:24
https://build.chromium.org/p/chromium.fyi/builders
|
| + |
| ClipRect backgroundClipRect = clipRectWithGeometryMapper(context, false); |
| #ifdef CHECK_CLIP_RECTS |
| ClipRect testBackgroundClipRect = |