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

Unified Diff: third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp

Issue 1979183002: Remove OwnPtr::release() calls in core/ (part 3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with trunk. 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/inspector/NetworkResourcesData.cpp
diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
index 9c474c97074aa4c12656254af9705120a0c56d8e..b564caa170a1e97e814b2a546daaead42b648eb0 100644
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
@@ -190,7 +190,7 @@ void NetworkResourcesData::responseReceived(const String& requestId, const Strin
if (mimeType.isEmpty())
mimeType = AtomicString("text/plain");
blobData->setContentType(mimeType);
- resourceData->setDownloadedFileBlob(BlobDataHandle::create(blobData.release(), -1));
+ resourceData->setDownloadedFileBlob(BlobDataHandle::create(std::move(blobData), -1));
}
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/LayoutEditor.cpp ('k') | third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698