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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp

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/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(

Powered by Google App Engine
This is Rietveld 408576698