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