Index: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h |
index 5e61b7452bd663dd17b8a3de08953e453bf83be9..5e2de725688104d4531de59128c1b20ce9983ba5 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h |
@@ -25,6 +25,7 @@ |
#include "core/layout/svg/SVGTextFragment.h" |
#include "wtf/Allocator.h" |
#include "wtf/Vector.h" |
+#include <memory> |
namespace blink { |
@@ -88,7 +89,7 @@ private: |
bool m_textLengthSpacingInEffect; |
// Text on path layout |
- OwnPtr<PathPositionMapper> m_textPath; |
+ std::unique_ptr<PathPositionMapper> m_textPath; |
float m_textPathStartOffset; |
float m_textPathCurrentOffset; |
float m_textPathDisplacement; |