| Index: Source/core/rendering/RenderBoxModelObject.cpp
|
| diff --git a/Source/core/rendering/RenderBoxModelObject.cpp b/Source/core/rendering/RenderBoxModelObject.cpp
|
| index f6a8072c3c4d6e6f78b87d92665eb4b2147668f9..fdc55403ab6f3c5977042dab4252e2b8dc4398a5 100644
|
| --- a/Source/core/rendering/RenderBoxModelObject.cpp
|
| +++ b/Source/core/rendering/RenderBoxModelObject.cpp
|
| @@ -2513,10 +2513,10 @@ void RenderBoxModelObject::paintBoxShadow(const PaintInfo& info, const LayoutRec
|
| }
|
|
|
| // Draw only the shadow.
|
| - DrawLooper drawLooper;
|
| - drawLooper.addShadow(shadowOffset, shadowBlur, shadowColor,
|
| + RefPtr<DrawLooper> drawLooper = adoptRef(new DrawLooper);
|
| + drawLooper->addShadow(shadowOffset, shadowBlur, shadowColor,
|
| DrawLooper::ShadowRespectsTransforms, DrawLooper::ShadowIgnoresAlpha);
|
| - context->setDrawLooper(drawLooper);
|
| + context->setDrawLooper(drawLooper.release());
|
|
|
| if (hasBorderRadius) {
|
| RoundedRect influenceRect(shadowRect, border.radii());
|
|
|