Index: webkit/plugins/ppapi/plugin_module.cc |
=================================================================== |
--- webkit/plugins/ppapi/plugin_module.cc (revision 84713) |
+++ webkit/plugins/ppapi/plugin_module.cc (working copy) |
@@ -105,6 +105,7 @@ |
#include "webkit/plugins/ppapi/ppb_widget_impl.h" |
#include "webkit/plugins/ppapi/resource_tracker.h" |
#include "webkit/plugins/ppapi/var.h" |
+#include "webkit/plugins/ppapi/webkit_forwarding_impl.h" |
#ifdef ENABLE_GPU |
#include "webkit/plugins/ppapi/ppb_context_3d_impl.h" |
@@ -562,6 +563,12 @@ |
return broker_; |
} |
+pp::shared_impl::WebKitForwarding* PluginModule::GetWebKitForwarding() { |
+ if (!webkit_forwarding_.get()) |
+ webkit_forwarding_.reset(new WebKitForwardingImpl); |
+ return webkit_forwarding_.get(); |
+} |
+ |
bool PluginModule::InitializeModule() { |
DCHECK(!out_of_process_proxy_.get()) << "Don't call for proxied modules."; |
int retval = entry_points_.initialize_module(pp_module(), &GetInterface); |