| Index: content/ppapi_plugin/ppapi_thread.cc
|
| ===================================================================
|
| --- content/ppapi_plugin/ppapi_thread.cc (revision 84549)
|
| +++ content/ppapi_plugin/ppapi_thread.cc (working copy)
|
| @@ -11,6 +11,7 @@
|
| #include "content/common/child_process.h"
|
| #include "content/ppapi_plugin/broker_process_dispatcher.h"
|
| #include "content/ppapi_plugin/plugin_process_dispatcher.h"
|
| +#include "content/ppapi_plugin/ppapi_webkit_thread.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_sync_channel.h"
|
| #include "ppapi/c/pp_errors.h"
|
| @@ -80,6 +81,13 @@
|
| return &globally_seen_instance_ids_;
|
| }
|
|
|
| +void PpapiThread::PostToWebKitThread(const tracked_objects::Location& from_here,
|
| + const base::Closure& task) {
|
| + if (!webkit_thread_.get())
|
| + webkit_thread_.reset(new PpapiWebKitThread);
|
| + webkit_thread_->PostTask(from_here, task);
|
| +}
|
| +
|
| void PpapiThread::OnMsgLoadPlugin(const FilePath& path) {
|
| base::ScopedNativeLibrary library(base::LoadNativeLibrary(path, NULL));
|
|
|
|
|