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

Unified Diff: third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp

Issue 2949103006: Removed RefPtr::Release. (Closed)
Patch Set: Removed Release from mac specific code Created 3 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/modules/fetch/BlobBytesConsumer.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp b/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp
index 76a1dde0d44ccc812ab4a2450a6c46b756b7bf48..ac72334f1f4fb0d73a6753fdf2efdf19d011cee9 100644
--- a/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp
@@ -127,7 +127,7 @@ PassRefPtr<BlobDataHandle> BlobBytesConsumer::DrainAsBlobDataHandle(
blob_data_handle_->size() == UINT64_MAX)
return nullptr;
Close();
- return blob_data_handle_.Release();
+ return std::move(blob_data_handle_);
}
PassRefPtr<EncodedFormData> BlobBytesConsumer::DrainAsFormData() {

Powered by Google App Engine
This is Rietveld 408576698