| Index: Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| index 8731b0c493186eea9fbff000bb0f91b141757b3d..f8b8703f67726e46581cf5efae0e95770510625a 100644
|
| --- a/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| +++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| @@ -625,14 +625,14 @@ void SVGInlineTextBox::paintTextWithShadows(GraphicsContext* context, RenderStyl
|
| }
|
|
|
| if (hasShadow) {
|
| - DrawLooper drawLooper;
|
| + RefPtr<DrawLooper> drawLooper(new DrawLooper);
|
| do {
|
| FloatSize offset(shadow->x(), shadow->y());
|
| - drawLooper.addShadow(offset, shadow->blur(), textRenderer->resolveColor(shadow->color(), Color::stdShadowColor),
|
| + drawLooper->addShadow(offset, shadow->blur(), textRenderer->resolveColor(shadow->color(), Color::stdShadowColor),
|
| DrawLooper::ShadowRespectsTransforms, DrawLooper::ShadowRespectsAlpha);
|
| } while ((shadow = shadow->next()));
|
| - drawLooper.addUnmodifiedContent();
|
| - context->setDrawLooper(drawLooper);
|
| + drawLooper->addUnmodifiedContent();
|
| + context->setDrawLooper(drawLooper.release());
|
| }
|
|
|
| if (prepareGraphicsContextForTextPainting(context, scalingFactor, textRun, style)) {
|
|
|