| Index: third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp | 
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp | 
| index 351681624e5cdfdecfd198236ce1c1fc3a8103fd..6dc9701977ff0885244a9a779dc38f62f68f32df 100644 | 
| --- a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp | 
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp | 
| @@ -79,9 +79,19 @@ | 
| m_context.getPaintController().newDisplayItemList().size()); | 
| #endif | 
|  | 
| +  sk_sp<const SkPicture> picture = m_context.endRecording(); | 
| + | 
| +#if DCHECK_IS_ON() | 
| +  if (!RuntimeEnabledFeatures::slimmingPaintStrictCullRectClippingEnabled() && | 
| +      !m_context.getPaintController().isForSkPictureBuilder() && | 
| +      m_displayItemClient.paintedOutputOfObjectHasNoEffectRegardlessOfSize()) { | 
| +    DCHECK_EQ(0, picture->approximateOpCount()) | 
| +        << m_displayItemClient.debugName(); | 
| +  } | 
| +#endif | 
| + | 
| m_context.getPaintController().createAndAppend<DrawingDisplayItem>( | 
| -      m_displayItemClient, m_displayItemType, m_context.endRecording(), | 
| -      m_knownToBeOpaque); | 
| +      m_displayItemClient, m_displayItemType, picture, m_knownToBeOpaque); | 
| } | 
|  | 
| }  // namespace blink | 
|  |