summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/resource_creation_proxy.cc
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-21 23:32:46 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-21 23:32:46 +0000
commit9856d2f6fa8afe73d949edeac6b85ebd35c1a3f7 (patch)
tree1fc239e3620bacdbf5dd134f98652d177ef97cd5 /ppapi/proxy/resource_creation_proxy.cc
parent39fbd832cc7b457b9a1645da8eaf320ac936323f (diff)
downloadchromium_src-9856d2f6fa8afe73d949edeac6b85ebd35c1a3f7.zip
chromium_src-9856d2f6fa8afe73d949edeac6b85ebd35c1a3f7.tar.gz
chromium_src-9856d2f6fa8afe73d949edeac6b85ebd35c1a3f7.tar.bz2
Add PPB_ImageData to untrusted NaCl build.
BUG=116317 TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10411043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.cc')
-rw-r--r--ppapi/proxy/resource_creation_proxy.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index b5c254c..064410e 100644
--- a/ppapi/proxy/resource_creation_proxy.cc
+++ b/ppapi/proxy/resource_creation_proxy.cc
@@ -166,6 +166,14 @@ PP_Resource ResourceCreationProxy::CreateAudioConfig(
OBJECT_IS_PROXY, instance, sample_rate, sample_frame_count);
}
+PP_Resource ResourceCreationProxy::CreateImageData(PP_Instance instance,
+ PP_ImageDataFormat format,
+ const PP_Size& size,
+ PP_Bool init_to_zero) {
+ return PPB_ImageData_Proxy::CreateProxyResource(instance, format, size,
+ init_to_zero);
+}
+
#if !defined(OS_NACL)
PP_Resource ResourceCreationProxy::CreateAudioTrusted(PP_Instance instance) {
// Proxied plugins can't create trusted audio devices.
@@ -243,14 +251,6 @@ PP_Resource ResourceCreationProxy::CreateHostResolverPrivate(
return PPB_HostResolver_Private_Proxy::CreateProxyResource(instance);
}
-PP_Resource ResourceCreationProxy::CreateImageData(PP_Instance instance,
- PP_ImageDataFormat format,
- const PP_Size& size,
- PP_Bool init_to_zero) {
- return PPB_ImageData_Proxy::CreateProxyResource(instance, format, size,
- init_to_zero);
-}
-
PP_Resource ResourceCreationProxy::CreateNetworkMonitor(
PP_Instance instance,
PPB_NetworkMonitor_Callback callback,