diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 18:12:49 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 18:12:49 +0000 |
commit | de059facfbe5010fb882952d31d056d739e9f4f0 (patch) | |
tree | e21a6b88d3b78cf0dbc36941b4f841453f017e1b /ppapi/proxy/resource_creation_proxy.cc | |
parent | d093fe8b399a72855e3e6e97146d41823c1b75bf (diff) | |
download | chromium_src-de059facfbe5010fb882952d31d056d739e9f4f0.zip chromium_src-de059facfbe5010fb882952d31d056d739e9f4f0.tar.gz chromium_src-de059facfbe5010fb882952d31d056d739e9f4f0.tar.bz2 |
Pepper: Autogenerate thunk for PPB_Graphics2D.
This change fixes a typo in the IDL, and cleans up the API a little bit so we
can generate a thunk for it. The implementation in webkit is vestigal and was removed.
Tested:
browser_tests --gtest_filter="*Graphics2D*"
BUG=
Review URL: https://chromiumcodereview.appspot.com/14335005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.cc')
-rw-r--r-- | ppapi/proxy/resource_creation_proxy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc index 74f907c..3cb25fa 100644 --- a/ppapi/proxy/resource_creation_proxy.cc +++ b/ppapi/proxy/resource_creation_proxy.cc @@ -225,9 +225,9 @@ PP_Resource ResourceCreationProxy::CreateFileChooser( } PP_Resource ResourceCreationProxy::CreateGraphics2D(PP_Instance instance, - const PP_Size& size, + const PP_Size* size, PP_Bool is_always_opaque) { - return (new Graphics2DResource(GetConnection(), instance, size, + return (new Graphics2DResource(GetConnection(), instance, *size, is_always_opaque))->GetReference(); } |