| Index: content/ppapi_plugin/ppapi_thread.cc
|
| diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
|
| index a32122dbfb6b779fc7a540ee6955488e57abb63c..ea5e4bc341e1bb6fa2524a3f7a1e4f85b2c32f2c 100644
|
| --- a/content/ppapi_plugin/ppapi_thread.cc
|
| +++ b/content/ppapi_plugin/ppapi_thread.cc
|
| @@ -18,7 +18,6 @@
|
| #include "base/metrics/histogram.h"
|
| #include "base/metrics/sparse_histogram.h"
|
| #include "base/rand_util.h"
|
| -#include "base/single_thread_task_runner.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/platform_thread.h"
|
| @@ -150,7 +149,7 @@
|
|
|
| bool PpapiThread::Send(IPC::Message* msg) {
|
| // Allow access from multiple threads.
|
| - if (message_loop()->task_runner()->BelongsToCurrentThread())
|
| + if (base::MessageLoop::current() == message_loop())
|
| return ChildThreadImpl::Send(msg);
|
|
|
| return sync_message_filter()->Send(msg);
|
|
|