Index: ppapi/proxy/resource_creation_proxy.cc |
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc |
index a821a154c250853c3501c6558031446510a26f60..4aec0366a3442e6a623c771c80846101d4034232 100644 |
--- a/ppapi/proxy/resource_creation_proxy.cc |
+++ b/ppapi/proxy/resource_creation_proxy.cc |
@@ -38,6 +38,7 @@ |
#include "ppapi/proxy/ppb_x509_certificate_private_proxy.h" |
#include "ppapi/proxy/printing_resource.h" |
#include "ppapi/proxy/talk_resource.h" |
+#include "ppapi/proxy/truetype_font_resource.h" |
#include "ppapi/proxy/udp_socket_private_resource.h" |
#include "ppapi/proxy/url_request_info_resource.h" |
#include "ppapi/proxy/url_response_info_resource.h" |
@@ -143,6 +144,14 @@ PP_Resource ResourceCreationProxy::CreateResourceArray( |
return object->GetReference(); |
} |
+PP_Resource ResourceCreationProxy::CreateTrueTypeFont( |
+ PP_Instance instance, |
+ const PP_TrueTypeFontDesc_Dev& desc) { |
+ return (new TrueTypeFontResource(GetConnection(), |
+ instance, desc))->GetReference(); |
+ |
+} |
+ |
PP_Resource ResourceCreationProxy::CreateURLLoader(PP_Instance instance) { |
return PPB_URLLoader_Proxy::CreateProxyResource(instance); |
} |