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

Unified Diff: content/child/web_data_consumer_handle_impl_unittest.cc

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: content/child/web_data_consumer_handle_impl_unittest.cc
diff --git a/content/child/web_data_consumer_handle_impl_unittest.cc b/content/child/web_data_consumer_handle_impl_unittest.cc
index 66015fb65d51c695065252051e221f197043b44b..7ad46d7f9b7257c791e8eed31ae81c40186cba0b 100644
--- a/content/child/web_data_consumer_handle_impl_unittest.cc
+++ b/content/child/web_data_consumer_handle_impl_unittest.cc
@@ -79,7 +79,7 @@ class ReadDataOperation : public ReadDataOperationBase {
void ReadData() {
if (!client_) {
client_.reset(new ClientImpl(this));
- reader_ = handle_->ObtainReader(client_.get());
+ reader_ = handle_->obtainReader(client_.get());
}
Result rv = kOk;
@@ -137,7 +137,7 @@ class TwoPhaseReadDataOperation : public ReadDataOperationBase {
void ReadData() {
if (!client_) {
client_.reset(new ClientImpl(this));
- reader_ = handle_->ObtainReader(client_.get());
+ reader_ = handle_->obtainReader(client_.get());
}
Result rv;
« no previous file with comments | « content/child/web_data_consumer_handle_impl.cc ('k') | third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698