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

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

Issue 2172183003: Return unique_ptr<WebDataConsumerHandle::Reader> directly from obtainReader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gmock_cxx11
Patch Set: rebase Created 4 years, 5 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/FetchFormDataConsumerHandle.h
diff --git a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
index 2abe693d2e8192e3f3bcbc098e3db6b51ae190fb..af0ae1cf0d889a53bc3abb271ce79fd9ed230112 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
@@ -51,7 +51,7 @@ private:
FetchFormDataConsumerHandle(const void*, size_t);
FetchFormDataConsumerHandle(ExecutionContext*, const PassRefPtr<EncodedFormData> body, FetchBlobDataConsumerHandle::LoaderFactory* = nullptr);
- Reader* obtainReaderInternal(Client*) override;
+ std::unique_ptr<Reader> obtainFetchDataReader(Client*) override;
const char* debugName() const override { return "FetchFormDataConsumerHandle"; }

Powered by Google App Engine
This is Rietveld 408576698