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

Unified Diff: third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h

Issue 2870543002: Removed PassRefPtr to RefPtr copies from unit tests. (Closed)
Patch Set: Created 3 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/modules/fetch/BytesConsumerTestUtil.h
diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h b/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h
index c70a84bdee007479f6151cc939e3bf76baa0ce70..4c5d0cf70a63a6dda8a82f9d2fba6ea4cd7f75e1 100644
--- a/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h
+++ b/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h
@@ -69,7 +69,7 @@ class BytesConsumerTestUtil {
// In mock methods we use RefPtr<> rather than PassRefPtr<>.
void DidFetchDataLoadedBlobHandle(
PassRefPtr<BlobDataHandle> blob_data_handle) override {
- DidFetchDataLoadedBlobHandleMock(blob_data_handle);
+ DidFetchDataLoadedBlobHandleMock(std::move(blob_data_handle));
}
};

Powered by Google App Engine
This is Rietveld 408576698