Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
index 261e9c4d7aff89e2b80a746a7afabd09d270c9cf..d3222d480aa7b871c9a93f5b5225b29da27b9af3 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
@@ -23,6 +23,7 @@ |
#include "core/svg/SVGPathElement.h" |
#include "core/svg/SVGTextPathElement.h" |
#include "platform/graphics/Path.h" |
+#include <memory> |
namespace blink { |
@@ -64,7 +65,7 @@ bool LayoutSVGTextPath::isChildAllowed(LayoutObject* child, const ComputedStyle& |
return child->isSVGInline() && !child->isSVGTextPath(); |
} |
-PassOwnPtr<PathPositionMapper> LayoutSVGTextPath::layoutPath() const |
+std::unique_ptr<PathPositionMapper> LayoutSVGTextPath::layoutPath() const |
{ |
const SVGTextPathElement& textPathElement = toSVGTextPathElement(*node()); |
Element* targetElement = SVGURIReference::targetElementFromIRIString( |