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

Unified Diff: content/child/child_message_filter.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/browser/tracing/memory_tracing_browsertest.cc ('k') | content/child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_message_filter.cc
diff --git a/content/child/child_message_filter.cc b/content/child/child_message_filter.cc
index 791d901ab0204a0fe5f755aba38a974e67ecbeeb..692c992ccf177e7473570c432b312beb45b3f9ea 100644
--- a/content/child/child_message_filter.cc
+++ b/content/child/child_message_filter.cc
@@ -22,7 +22,7 @@ class ChildMessageFilter::Internal : public IPC::MessageFilter {
bool OnMessageReceived(const IPC::Message& msg) override {
scoped_refptr<base::TaskRunner> runner =
filter_->OverrideTaskRunnerForMessage(msg);
- if (runner.get() && !runner->RunsTasksOnCurrentThread()) {
+ if (runner.get() && !runner->RunsTasksInCurrentSequence()) {
if (!runner->PostTask(
FROM_HERE,
base::Bind(
« no previous file with comments | « content/browser/tracing/memory_tracing_browsertest.cc ('k') | content/child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698