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

Unified Diff: content/child/fileapi/webfilewriter_impl.cc

Issue 2873333004: Rename TaskRunner::RunsTasksOnCurrentThread() in //content (Closed)
Patch Set: Created 3 years, 7 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/fileapi/webfilewriter_impl.cc
diff --git a/content/child/fileapi/webfilewriter_impl.cc b/content/child/fileapi/webfilewriter_impl.cc
index a2f8d92f89df126629e569c4397e698b84e20fb3..64583514e3495e2c766e6bd4a75156c225167670 100644
--- a/content/child/fileapi/webfilewriter_impl.cc
+++ b/content/child/fileapi/webfilewriter_impl.cc
@@ -162,7 +162,7 @@ void WebFileWriterImpl::DoCancel() {
}
void WebFileWriterImpl::RunOnMainThread(const base::Closure& closure) {
- if (main_thread_task_runner_->RunsTasksOnCurrentThread()) {
+ if (main_thread_task_runner_->RunsTasksInCurrentSequence()) {
DCHECK(!bridge_->waitable_event());
closure.Run();
return;
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/service_worker/service_worker_provider_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698