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

Unified Diff: third_party/WebKit/Source/platform/exported/WebDataConsumerHandle.cpp

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/platform/exported/WebDataConsumerHandle.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebDataConsumerHandle.cpp b/third_party/WebKit/Source/platform/exported/WebDataConsumerHandle.cpp
index 5c870213adb2f7de05d8be7a6ddaae22fa49bbe0..2f4b2b4d67941c5f18cc22127bfd2d64967fba97 100644
--- a/third_party/WebKit/Source/platform/exported/WebDataConsumerHandle.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebDataConsumerHandle.cpp
@@ -22,12 +22,6 @@ WebDataConsumerHandle::~WebDataConsumerHandle()
ASSERT(ThreadState::current());
}
-std::unique_ptr<WebDataConsumerHandle::Reader> WebDataConsumerHandle::obtainReader(WebDataConsumerHandle::Client* client)
-{
- ASSERT(ThreadState::current());
- return wrapUnique(obtainReaderInternal(client));
-}
-
WebDataConsumerHandle::Result WebDataConsumerHandle::Reader::read(void* data, size_t size, Flags flags, size_t* readSize)
{
*readSize = 0;
@@ -42,4 +36,3 @@ WebDataConsumerHandle::Result WebDataConsumerHandle::Reader::read(void* data, si
}
} // namespace blink
-
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/public/platform/WebDataConsumerHandle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698