summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/plugin_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/plugin_resource.cc')
-rw-r--r--ppapi/proxy/plugin_resource.cc6
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