Index: ppapi/proxy/ppp_instance_proxy.h |
=================================================================== |
--- ppapi/proxy/ppp_instance_proxy.h (revision 100753) |
+++ ppapi/proxy/ppp_instance_proxy.h (working copy) |
@@ -25,7 +25,12 @@ |
class PPP_Instance_Proxy : public InterfaceProxy { |
public: |
- PPP_Instance_Proxy(Dispatcher* dispatcher); |
+ template <class PPP_Instance_Type> |
+ PPP_Instance_Proxy(Dispatcher* dispatcher, |
+ const PPP_Instance_Type* target_interface) |
+ : InterfaceProxy(dispatcher, static_cast<const void*>(target_interface)), |
+ combined_interface_(new PPP_Instance_Combined(*target_interface)) { |
+ } |
virtual ~PPP_Instance_Proxy(); |
// Return the info for the 1.0 (latest, canonical) version of the interface. |