summaryrefslogtreecommitdiffstats
path: root/ppapi/generators
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 18:17:58 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 18:17:58 +0000
commit12b6f612c91c63cfeb9c7ef530e3a007b0366802 (patch)
tree3debc3b47e9515d1f08b715bfb75e1a63cc8f45e /ppapi/generators
parent634f69c80e80c0f80d8eaf2e29a7a88710d2236b (diff)
downloadchromium_src-12b6f612c91c63cfeb9c7ef530e3a007b0366802.zip
chromium_src-12b6f612c91c63cfeb9c7ef530e3a007b0366802.tar.gz
chromium_src-12b6f612c91c63cfeb9c7ef530e3a007b0366802.tar.bz2
IDL: Autogenerate thunk .cc file for PPB_View
BUG= Review URL: https://chromiumcodereview.appspot.com/12220082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/generators')
-rwxr-xr-xppapi/generators/idl_thunk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/generators/idl_thunk.py b/ppapi/generators/idl_thunk.py
index b3f59d1..117f54a 100755
--- a/ppapi/generators/idl_thunk.py
+++ b/ppapi/generators/idl_thunk.py
@@ -143,6 +143,7 @@ def _GetDefaultFailureValue(t):
'PP_Bool': 'PP_FALSE',
'PP_Resource': '0',
'struct PP_Var': 'PP_MakeUndefined()',
+ 'float': '0.0f',
'int32_t': 'enter.retval()',
'uint16_t': '0',
'uint32_t': '0',