Index: content/renderer/pepper/renderer_ppapi_host_impl.h |
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.h b/content/renderer/pepper/renderer_ppapi_host_impl.h |
index 24927b181355a2775667c3f9e4af30b01916caa3..ff0341dd6b8496e0520f6698730b5767c7eb9200 100644 |
--- a/content/renderer/pepper/renderer_ppapi_host_impl.h |
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.h |
@@ -61,6 +61,10 @@ class RendererPpapiHostImpl |
webkit::ppapi::PluginModule* module, |
const ppapi::PpapiPermissions& permissions); |
+ // Returns the RendererPpapiHostImpl associated with the given PP_Instance, |
+ // or NULL if the instance is invalid. |
+ static RendererPpapiHostImpl* GetForPPInstance(PP_Instance pp_instance); |
+ |
// Returns the router that we use for in-process IPC emulation (see the |
// pepper_in_process_router.h for more). This will be NULL when the plugin |
// is running out-of-process. |