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

Unified Diff: content/browser/webui/url_data_manager_backend.cc

Issue 2176373005: [Housekeeping] Move file IO to slow pool. Base URL: https://chromium.googlesource.com/chromium/src.git@urlread
Patch Set: 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
« no previous file with comments | « no previous file | net/url_request/url_request_simple_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/url_data_manager_backend.cc
diff --git a/content/browser/webui/url_data_manager_backend.cc b/content/browser/webui/url_data_manager_backend.cc
index 8a3e910d319ab5e6e23b918aa0c8b835c9ba27e0..d9b7a58d3dff985be7ec054d7c63e62f53849630 100644
--- a/content/browser/webui/url_data_manager_backend.cc
+++ b/content/browser/webui/url_data_manager_backend.cc
@@ -426,7 +426,7 @@ int URLRequestChromeJob::PostReadTask(net::IOBuffer* buf, int buf_size) {
if (buf_size == 0)
return 0;
- base::WorkerPool::GetTaskRunner(false)->PostTaskAndReply(
+ base::WorkerPool::GetTaskRunner(true)->PostTaskAndReply(
FROM_HERE, base::Bind(&CopyData, base::RetainedRef(buf), buf_size, data_,
data_offset_),
base::Bind(&URLRequestChromeJob::ReadRawDataComplete, AsWeakPtr(),
« no previous file with comments | « no previous file | net/url_request/url_request_simple_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698