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

Unified Diff: third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.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/dom/DecodedDataDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.cpp b/third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.cpp
index 0c90a7722b305dbc8a4134d4df35360efd241922..b0f5d56c262aae2e2d6306822553c60ceb1dc640 100644
--- a/third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.cpp
@@ -57,7 +57,7 @@ TextResourceDecoder* DecodedDataDocumentParser::decoder()
PassOwnPtr<TextResourceDecoder> DecodedDataDocumentParser::takeDecoder()
{
- return m_decoder.release();
+ return std::move(m_decoder);
}
void DecodedDataDocumentParser::appendBytes(const char* data, size_t length)
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp ('k') | third_party/WebKit/Source/core/dom/MessagePort.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698