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