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

Unified Diff: content/child/fileapi/webfilesystem_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
« no previous file with comments | « content/child/child_message_filter.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilesystem_impl.cc
diff --git a/content/child/fileapi/webfilesystem_impl.cc b/content/child/fileapi/webfilesystem_impl.cc
index cbe1b6f550c6d4ddeea6d2766bb6004ddf32e577..6220488501122bdf98760a5873d33f974fab14fa 100644
--- a/content/child/fileapi/webfilesystem_impl.cc
+++ b/content/child/fileapi/webfilesystem_impl.cc
@@ -97,7 +97,7 @@ void CallDispatcherOnMainThread(
const scoped_refptr<base::SingleThreadTaskRunner>& main_thread_task_runner,
Method method, const Params& params,
WaitableCallbackResults* waitable_results) {
- if (!main_thread_task_runner->RunsTasksOnCurrentThread()) {
+ if (!main_thread_task_runner->RunsTasksInCurrentSequence()) {
main_thread_task_runner->PostTask(
FROM_HERE,
base::Bind(&CallDispatcherOnMainThread<Method, Params>,
« no previous file with comments | « content/child/child_message_filter.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698