Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698