diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.cc b/chromium/third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.cc index 191e2407ff1..c4aa4af1285 100644 --- a/chromium/third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.cc +++ b/chromium/third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.cc @@ -661,7 +661,10 @@ static void ProjectRectsToGraphicsLayerSpaceRecursive( const PaintLayer* composited_layer = layer_iter->key ->EnclosingLayerForPaintInvalidationCrossingFrameBoundaries(); - DCHECK(composited_layer); + // https://crbug.com/751768. |composited_layer| can be null, don't just + // DCHECK it. + if (!composited_layer) + return; // Find the appropriate GraphicsLayer for the composited Layer. GraphicsLayer* graphics_layer = @@ -875,6 +878,8 @@ void ScrollingCoordinator::SetTouchEventTargetRects( const PaintLayer* composited_layer = layer_rect.key ->EnclosingLayerForPaintInvalidationCrossingFrameBoundaries(); + // https://crbug.com/751768. |composited_layer| can be null, don't just + // DCHECK it. if (!composited_layer) continue; frame->View()->GetScrollingContext()->GetLayersWithTouchRects()->insert( |