diff options
Diffstat (limited to 'ppapi/proxy/plugin_resource.cc')
-rw-r--r-- | ppapi/proxy/plugin_resource.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc index 83dadc6..d25dde1 100644 --- a/ppapi/proxy/plugin_resource.cc +++ b/ppapi/proxy/plugin_resource.cc @@ -19,5 +19,11 @@ PluginResource::~PluginResource() { FOR_ALL_PLUGIN_RESOURCES(DEFINE_TYPE_GETTER) #undef DEFINE_TYPE_GETTER +PluginDispatcher* PluginResource::GetDispatcher() { + PluginDispatcher* disp = PluginDispatcher::GetForInstance(instance()); + CHECK(disp); + return disp; +} + } // namespace proxy } // namespace pp |