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

Unified Diff: content/browser/dom_storage/dom_storage_context_wrapper.cc

Issue 2593983003: Update TaskTraits in dom_storage_context_wrapper.cc. (Closed)
Patch Set: Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/dom_storage_context_wrapper.cc
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.cc b/content/browser/dom_storage/dom_storage_context_wrapper.cc
index 56e9fb1006bc1b2747b273e1af9b15d8a8b4a0f4..67bb016e6472b7c3efc61beeecbe39727047d821 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.cc
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.cc
@@ -282,7 +282,7 @@ DOMStorageContextWrapper::DOMStorageContextWrapper(
base::TaskTraits dom_storage_traits =
base::TaskTraits()
.WithShutdownBehavior(base::TaskShutdownBehavior::BLOCK_SHUTDOWN)
- .WithFileIO()
+ .MayBlock()
.WithPriority(base::TaskPriority::USER_BLOCKING);
primary_sequence =
base::CreateSequencedTaskRunnerWithTraits(dom_storage_traits);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698