| Index: Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| index fbbed0d74cf40c3ca0e904688d9d25e9b01bb404..df21423a788c2ce10a71a0d3625cd1597a5fcbe8 100644
|
| --- a/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| +++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp
|
| @@ -39,7 +39,7 @@
|
| #include "core/rendering/svg/SVGTextRunRenderingContext.h"
|
| #include "platform/FloatConversion.h"
|
| #include "platform/fonts/FontCache.h"
|
| -#include "platform/graphics/DrawLooperBuilder.h"
|
| +#include "platform/graphics/DrawLooper.h"
|
| #include "platform/graphics/GraphicsContextStateSaver.h"
|
|
|
| using namespace std;
|
| @@ -639,15 +639,15 @@
|
| }
|
|
|
| if (hasShadow) {
|
| - OwnPtr<DrawLooperBuilder> drawLooperBuilder = DrawLooperBuilder::create();
|
| + DrawLooper drawLooper;
|
| for (size_t i = shadowList->shadows().size(); i--; ) {
|
| const ShadowData& shadow = shadowList->shadows()[i];
|
| FloatSize offset(shadow.x(), shadow.y());
|
| - drawLooperBuilder->addShadow(offset, shadow.blur(), shadow.color(),
|
| - DrawLooperBuilder::ShadowRespectsTransforms, DrawLooperBuilder::ShadowRespectsAlpha);
|
| + drawLooper.addShadow(offset, shadow.blur(), shadow.color(),
|
| + DrawLooper::ShadowRespectsTransforms, DrawLooper::ShadowRespectsAlpha);
|
| }
|
| - drawLooperBuilder->addUnmodifiedContent();
|
| - context->setDrawLooper(drawLooperBuilder.release());
|
| + drawLooper.addUnmodifiedContent();
|
| + context->setDrawLooper(drawLooper);
|
| }
|
|
|
| if (prepareGraphicsContextForTextPainting(context, scalingFactor, textRun, style)) {
|
|
|