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

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

Powered by Google App Engine
This is Rietveld 408576698