diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-26 01:24:13 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-26 01:24:13 +0000 |
commit | 56c49bb6435e6cbecae9504f23dc8189b49ad955 (patch) | |
tree | 37fc8cf187c355b6cb2d43efc1d5fcaf304373ab /ppapi/thunk/resource_creation_api.h | |
parent | 210257b2f908030f3924d6878b0ba1cedfc5615b (diff) | |
download | chromium_src-56c49bb6435e6cbecae9504f23dc8189b49ad955.zip chromium_src-56c49bb6435e6cbecae9504f23dc8189b49ad955.tar.gz chromium_src-56c49bb6435e6cbecae9504f23dc8189b49ad955.tar.bz2 |
Autogenerate thunk for PPB_ImageData.
This changes idl_thunk.py to use functions from ppapi/shared_impl when the
first argument to a function is not PP_Instance or PP_Resource. This pattern
seems to be used in multiple IDL files.
I also needed to clean up the APIs a bit so the function signatures matched up
with what idl_thunk.py emits.
Tested:
Built chrome and browser_tests.
BUG=
Review URL: https://chromiumcodereview.appspot.com/14060022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/resource_creation_api.h')
-rw-r--r-- | ppapi/thunk/resource_creation_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h index cd9a8ff..1a4713e 100644 --- a/ppapi/thunk/resource_creation_api.h +++ b/ppapi/thunk/resource_creation_api.h @@ -130,11 +130,11 @@ class ResourceCreationAPI { virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; virtual PP_Resource CreateImageData(PP_Instance instance, PP_ImageDataFormat format, - const PP_Size& size, + const PP_Size* size, PP_Bool init_to_zero) = 0; virtual PP_Resource CreateImageDataNaCl(PP_Instance instance, PP_ImageDataFormat format, - const PP_Size& size, + const PP_Size* size, PP_Bool init_to_zero) = 0; virtual PP_Resource CreateNetworkMonitor( PP_Instance instance, |