| 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 8aa1b45ddc3d32f32fa3d49a291bd3182cd6b108..9fc2b4dc3a4755b3684f3eca47c19bb7872e786d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -980,10 +980,6 @@ void PaintLayerPainter::paintFragmentWithPhase(
|
| Optional<ScrollRecorder> scrollRecorder;
|
| LayoutPoint paintOffset = -m_paintLayer.layoutBoxLocation();
|
| if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
|
| - const auto* objectPaintProperties =
|
| - m_paintLayer.layoutObject().paintProperties();
|
| - DCHECK(objectPaintProperties &&
|
| - objectPaintProperties->localBorderBoxProperties());
|
| paintOffset += m_paintLayer.layoutObject().paintOffset();
|
| newCullRect.move(paintingInfo.scrollOffsetAccumulation);
|
| } else {
|
|
|