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

Unified Diff: content/child/web_data_consumer_handle_impl_unittest.cc

Issue 2177243002: Use per-frame TaskRunner instead of thread's default in DataConsumerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_consumer_handle_unique_ptr
Patch Set: update 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 7ad46d7f9b7257c791e8eed31ae81c40186cba0b..90cb9e9b3c370e4337b7bef46728a4ba03e23f9d 100644
--- a/content/child/web_data_consumer_handle_impl_unittest.cc
+++ b/content/child/web_data_consumer_handle_impl_unittest.cc
@@ -22,6 +22,7 @@
#include "base/threading/thread_task_runner_handle.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/WebKit/public/platform/WebTaskRunner.h"
namespace content {
@@ -79,7 +80,7 @@ class ReadDataOperation : public ReadDataOperationBase {
void ReadData() {
if (!client_) {
client_.reset(new ClientImpl(this));
- reader_ = handle_->obtainReader(client_.get());
+ reader_ = handle_->obtainReader(client_.get(), nullptr);
}
Result rv = kOk;
@@ -137,7 +138,7 @@ class TwoPhaseReadDataOperation : public ReadDataOperationBase {
void ReadData() {
if (!client_) {
client_.reset(new ClientImpl(this));
- reader_ = handle_->obtainReader(client_.get());
+ reader_ = handle_->obtainReader(client_.get(), nullptr);
}
Result rv;

Powered by Google App Engine
This is Rietveld 408576698