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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.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/css/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index cdfe75ff20c5f27efd7768bba1cde486d66d1067..94b727a64180de46220d13552b3f5abe8355c1c5 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -47,6 +47,7 @@
#include "core/layout/LayoutTheme.h"
#include "core/svg/SVGPathUtilities.h"
#include "wtf/text/StringBuilder.h"
+#include <memory>
namespace blink {
@@ -1514,7 +1515,7 @@ static CSSValue* consumePath(CSSParserTokenRange& range)
return nullptr;
String pathString = functionArgs.consumeIncludingWhitespace().value().toString();
- OwnPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
+ std::unique_ptr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
if (buildByteStreamFromString(pathString, *byteStream) != SVGParseStatus::NoError
|| !functionArgs.atEnd())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698