Index: ppapi/host/resource_message_filter.cc |
diff --git a/ppapi/host/resource_message_filter.cc b/ppapi/host/resource_message_filter.cc |
index ac9d32420ce56b862a04c9f277e6214c488816a1..9442ce033ba4c3c67a6a708b8c231b57e7ac5cf5 100644 |
--- a/ppapi/host/resource_message_filter.cc |
+++ b/ppapi/host/resource_message_filter.cc |
@@ -40,7 +40,7 @@ void ResourceMessageFilter::OnFilterDestroyed() { |
bool ResourceMessageFilter::HandleMessage(const IPC::Message& msg, |
HostMessageContext* context) { |
scoped_refptr<base::TaskRunner> runner = OverrideTaskRunnerForMessage(msg); |
- if (runner) { |
+ if (runner.get()) { |
// TODO(raymes): We need to make a copy so the context can be used on other |
// threads. It would be better to have a thread-safe refcounted context. |
HostMessageContext context_copy = *context; |