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

Unified Diff: content/browser/fileapi/browser_file_system_helper.cc

Issue 22893003: Discard FileAPI pending operations on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/fileapi/browser_file_system_helper.cc
diff --git a/content/browser/fileapi/browser_file_system_helper.cc b/content/browser/fileapi/browser_file_system_helper.cc
index e809857f08aea6fa97e6e65449017ade9ddadf49..6df6f1f381cd8441475e3156ef13955af1e56dd7 100644
--- a/content/browser/fileapi/browser_file_system_helper.cc
+++ b/content/browser/fileapi/browser_file_system_helper.cc
@@ -55,7 +55,9 @@ scoped_refptr<fileapi::FileSystemContext> CreateFileSystemContext(
base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool();
scoped_refptr<base::SequencedTaskRunner> file_task_runner =
- pool->GetSequencedTaskRunner(pool->GetNamedSequenceToken("FileAPI"));
+ pool->GetSequencedTaskRunnerWithShutdownBehavior(
+ pool->GetNamedSequenceToken("FileAPI"),
+ base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
// Setting up additional filesystem backends.
ScopedVector<fileapi::FileSystemBackend> additional_backends;
« no previous file with comments | « no previous file | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698