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

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

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

Powered by Google App Engine
This is Rietveld 408576698