Index: ppapi/proxy/plugin_dispatcher.cc |
=================================================================== |
--- ppapi/proxy/plugin_dispatcher.cc (revision 84713) |
+++ ppapi/proxy/plugin_dispatcher.cc (working copy) |
@@ -79,6 +79,7 @@ |
bool is_client) { |
if (!Dispatcher::InitWithChannel(delegate, channel_handle, is_client)) |
return false; |
+ SetDelegate(delegate); |
// The message filter will intercept and process certain messages directly |
// on the I/O thread. |
@@ -201,6 +202,16 @@ |
return (it == instance_map_.end()) ? NULL : &it->second; |
} |
+void PluginDispatcher::PostToWebKitThread( |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task) { |
+ return dispatcher_delegate_->PostToWebKitThread(from_here, task); |
+} |
+ |
+pp::shared_impl::WebKitForwarding* PluginDispatcher::GetWebKitForwarding() { |
+ return dispatcher_delegate_->GetWebKitForwarding(); |
+} |
+ |
::ppapi::shared_impl::FunctionGroupBase* PluginDispatcher::GetFunctionAPI( |
pp::proxy::InterfaceID id) { |
if (function_proxies_[id].get()) |