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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 5e2de725688104d4531de59128c1b20ce9983ba5..5e61b7452bd663dd17b8a3de08953e453bf83be9 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h
@@ -25,7 +25,6 @@
#include "core/layout/svg/SVGTextFragment.h"
#include "wtf/Allocator.h"
#include "wtf/Vector.h"
-#include <memory>
namespace blink {
@@ -89,7 +88,7 @@ private:
bool m_textLengthSpacingInEffect;
// Text on path layout
- std::unique_ptr<PathPositionMapper> m_textPath;
+ OwnPtr<PathPositionMapper> m_textPath;
float m_textPathStartOffset;
float m_textPathCurrentOffset;
float m_textPathDisplacement;

Powered by Google App Engine
This is Rietveld 408576698