summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/resource_creation_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/resource_creation_impl.cc')
-rw-r--r--webkit/plugins/ppapi/resource_creation_impl.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 3d4fd0a..6095d3b 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -174,7 +174,15 @@ PP_Resource ResourceCreationImpl::CreateImageData(PP_Instance instance,
PP_ImageDataFormat format,
const PP_Size& size,
PP_Bool init_to_zero) {
- return PPB_ImageData_Impl::Create(instance, format, size, init_to_zero);
+ return PPB_ImageData_Impl::CreatePlatform(instance, format, size,
+ init_to_zero);
+}
+
+PP_Resource ResourceCreationImpl::CreateImageDataNaCl(PP_Instance instance,
+ PP_ImageDataFormat format,
+ const PP_Size& size,
+ PP_Bool init_to_zero) {
+ return PPB_ImageData_Impl::CreateNaCl(instance, format, size, init_to_zero);
}
PP_Resource ResourceCreationImpl::CreateIMEInputEvent(