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

Unified Diff: ppapi/host/resource_message_filter.cc

Issue 2886913005: Rename TaskRunner::RunsTasksOnCurrentThread() in //dbus, //chromeos, //ppapi (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 | « dbus/exported_object.cc ('k') | ppapi/proxy/udp_socket_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/resource_message_filter.cc
diff --git a/ppapi/host/resource_message_filter.cc b/ppapi/host/resource_message_filter.cc
index 0b5a469b2b866029a3e43523f57571ee8f3cf706..cea9f9feb1c83d0cc827505ce496cad182a2e259 100644
--- a/ppapi/host/resource_message_filter.cc
+++ b/ppapi/host/resource_message_filter.cc
@@ -61,7 +61,7 @@ bool ResourceMessageFilter::HandleMessage(const IPC::Message& msg,
HostMessageContext* context) {
scoped_refptr<base::TaskRunner> runner = OverrideTaskRunnerForMessage(msg);
if (runner.get()) {
- if (runner->RunsTasksOnCurrentThread()) {
+ if (runner->RunsTasksInCurrentSequence()) {
DispatchMessage(msg, *context);
} else {
// TODO(raymes): We need to make a copy so the context can be used on
« no previous file with comments | « dbus/exported_object.cc ('k') | ppapi/proxy/udp_socket_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698