Index: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp |
index 93f106836dfb6959eb96f3cbe10e6f858e91f1eb..9cc33a14db2a209895dd9f4a885c58881434c53a 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp |
@@ -22,7 +22,6 @@ |
#include "core/paint/SVGPaintContext.h" |
#include "core/style/ShadowList.h" |
#include "platform/graphics/GraphicsContextStateSaver.h" |
-#include <memory> |
namespace blink { |
@@ -314,7 +313,7 @@ bool SVGInlineTextBoxPainter::setupTextPaint(const PaintInfo& paintInfo, const C |
paint.setAntiAlias(true); |
if (hasShadow) { |
- std::unique_ptr<DrawLooperBuilder> drawLooperBuilder = shadowList->createDrawLooper(DrawLooperBuilder::ShadowRespectsAlpha, style.visitedDependentColor(CSSPropertyColor)); |
+ OwnPtr<DrawLooperBuilder> drawLooperBuilder = shadowList->createDrawLooper(DrawLooperBuilder::ShadowRespectsAlpha, style.visitedDependentColor(CSSPropertyColor)); |
paint.setLooper(toSkSp(drawLooperBuilder->detachDrawLooper())); |
} |