| Index: Source/core/rendering/RenderBoxModelObject.cpp
|
| diff --git a/Source/core/rendering/RenderBoxModelObject.cpp b/Source/core/rendering/RenderBoxModelObject.cpp
|
| index bae01cbfebfa2248c829e08f2e9cd5a0a95509ad..8cf4f2238ad45d8e04120cec08314eef41f8e474 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());
|
|
|
| if (hasBorderRadius) {
|
| RoundedRect influenceRect(pixelSnappedIntRect(LayoutRect(shadowRect)), border.radii());
|
|
|