Index: ppapi/proxy/ppb_font_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_font_proxy.cc (revision 100753) |
+++ ppapi/proxy/ppb_font_proxy.cc (working copy) |
@@ -40,15 +40,33 @@ |
return true; |
} |
+InterfaceProxy* CreateFontProxy(Dispatcher* dispatcher, |
+ const void* target_interface) { |
+ return new PPB_Font_Proxy(dispatcher, target_interface); |
+} |
+ |
} // namespace |
-PPB_Font_Proxy::PPB_Font_Proxy(Dispatcher* dispatcher) |
- : InterfaceProxy(dispatcher) { |
+PPB_Font_Proxy::PPB_Font_Proxy(Dispatcher* dispatcher, |
+ const void* target_interface) |
+ : InterfaceProxy(dispatcher, target_interface) { |
} |
PPB_Font_Proxy::~PPB_Font_Proxy() { |
} |
+// static |
+const InterfaceProxy::Info* PPB_Font_Proxy::GetInfo() { |
+ static const Info info = { |
+ thunk::GetPPB_Font_Thunk(), |
+ PPB_FONT_DEV_INTERFACE, |
+ INTERFACE_ID_PPB_FONT, |
+ false, |
+ &CreateFontProxy, |
+ }; |
+ return &info; |
+} |
+ |
PPB_Font_FunctionAPI* PPB_Font_Proxy::AsPPB_Font_FunctionAPI() { |
return this; |
} |