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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 1983753002: Remove OwnPtr::release() calls in core/ (part 2). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 1b60d4f2d66236014fffaf1fc17cd45dc4407a8c..95ef95e9a7c9c8bd9934b21a9d7c30f79546a229 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -1551,7 +1551,7 @@ static CSSValue* consumePath(CSSParserTokenRange& range)
range = functionRange;
if (byteStream->isEmpty())
return cssValuePool().createIdentifierValue(CSSValueNone);
- return CSSPathValue::create(byteStream.release());
+ return CSSPathValue::create(std::move(byteStream));
}
static CSSValue* consumePathOrNone(CSSParserTokenRange& range)

Powered by Google App Engine
This is Rietveld 408576698