| Index: trunk/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| ===================================================================
|
| --- trunk/Source/core/rendering/svg/SVGInlineTextBox.cpp (revision 156736)
|
| +++ trunk/Source/core/rendering/svg/SVGInlineTextBox.cpp (working copy)
|
| @@ -638,14 +638,14 @@
|
| }
|
|
|
| if (hasShadow) {
|
| - RefPtr<DrawLooper> drawLooper(new DrawLooper);
|
| + DrawLooper 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.release());
|
| + drawLooper.addUnmodifiedContent();
|
| + context->setDrawLooper(drawLooper);
|
| }
|
|
|
| if (prepareGraphicsContextForTextPainting(context, scalingFactor, textRun, style)) {
|
|
|