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

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

Issue 2956583002: Removed usage of RefPtr::Release in unit tests (Closed)
Patch Set: 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/BytesConsumerTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumerTest.cpp b/third_party/WebKit/Source/modules/fetch/BytesConsumerTest.cpp
index 4c7bb3864b2b254a7467d93910af5487157344be..c4b5627a1198fb0e39b018591956a4b03668b775 100644
--- a/third_party/WebKit/Source/modules/fetch/BytesConsumerTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BytesConsumerTest.cpp
@@ -73,7 +73,7 @@ class FakeBlobBytesConsumer : public BytesConsumer {
blob_handle_->size() == UINT64_MAX)
return nullptr;
state_ = PublicState::kClosed;
- return blob_handle_.Release();
+ return std::move(blob_handle_);
}
void SetClient(Client*) override {}

Powered by Google App Engine
This is Rietveld 408576698