Index: ppapi/proxy/resource_creation_proxy.cc |
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc |
index 51dd334d2a07875773b5e08caf594cc1fc7ae49a..7061dc103e29e63ddefc66bc1687a051930115fb 100644 |
--- a/ppapi/proxy/resource_creation_proxy.cc |
+++ b/ppapi/proxy/resource_creation_proxy.cc |
@@ -189,6 +189,17 @@ PP_Resource ResourceCreationProxy::CreateImageData(PP_Instance instance, |
init_to_zero); |
} |
+PP_Resource ResourceCreationProxy::CreateImageDataNaCl( |
+ PP_Instance instance, |
+ PP_ImageDataFormat format, |
+ const PP_Size& size, |
+ PP_Bool init_to_zero) { |
+ // These really only are different on the host side. On the plugin side, we |
+ // always request a "platform" ImageData if we're trusted, or a "NaCl" one |
+ // if we're untrusted (see PPB_ImageData_Proxy::CreateProxyResource()). |
+ return CreateImageData(instance, format, size, init_to_zero); |
+} |
+ |
PP_Resource ResourceCreationProxy::CreateGraphics2D(PP_Instance instance, |
const PP_Size& size, |
PP_Bool is_always_opaque) { |