Index: Source/core/rendering/RenderBoxModelObject.cpp |
diff --git a/Source/core/rendering/RenderBoxModelObject.cpp b/Source/core/rendering/RenderBoxModelObject.cpp |
index bae01cbfebfa2248c829e08f2e9cd5a0a95509ad..bb9129f1de2bf767dfb1994614a101bb736ccffa 100644 |
--- a/Source/core/rendering/RenderBoxModelObject.cpp |
+++ b/Source/core/rendering/RenderBoxModelObject.cpp |
@@ -2512,10 +2512,10 @@ void RenderBoxModelObject::paintBoxShadow(const PaintInfo& info, const LayoutRec |
} |
// Draw only the shadow. |
- DrawLooper drawLooper; |
- drawLooper.addShadow(shadowOffset, shadowBlur, shadowColor, |
+ DrawLooper::Builder drawLooperBuilder; |
+ drawLooperBuilder.addShadow(shadowOffset, shadowBlur, shadowColor, |
DrawLooper::ShadowRespectsTransforms, DrawLooper::ShadowIgnoresAlpha); |
- context->setDrawLooper(drawLooper); |
+ context->setDrawLooper(*drawLooperBuilder.detachDrawLooper().get()); |
if (hasBorderRadius) { |
RoundedRect influenceRect(pixelSnappedIntRect(LayoutRect(shadowRect)), border.radii()); |