Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: ppapi/proxy/plugin_resource.cc

Issue 6905088: New thunk system for Pepper proxy and implementation (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/plugin_resource.cc
===================================================================
--- ppapi/proxy/plugin_resource.cc (revision 84344)
+++ ppapi/proxy/plugin_resource.cc (working copy)
@@ -19,5 +19,11 @@
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

Powered by Google App Engine
This is Rietveld 408576698