diff options
author | Dave Michael <dmichael@chromium.org> | 2014-09-17 14:56:10 -0600 |
---|---|---|
committer | Dave Michael <dmichael@chromium.org> | 2014-09-17 20:58:22 +0000 |
commit | 970fa0cfd701760b7dda55de4233d614646d5c71 (patch) | |
tree | cdaea81439eff0ca6a279be6869376daeb755b7c /ppapi/proxy/interface_list.cc | |
parent | 850d9008f05fbc9ac1ad5d3cb07a166244b7924b (diff) | |
download | chromium_src-970fa0cfd701760b7dda55de4233d614646d5c71.zip chromium_src-970fa0cfd701760b7dda55de4233d614646d5c71.tar.gz chromium_src-970fa0cfd701760b7dda55de4233d614646d5c71.tar.bz2 |
PPAPI: Make PPP_MessageHandler work in PNaCl
The PNaCl ABI does not work in general with passing structs by-value.
Rather than add more complication to the shim, this changes
HandleBlockingMessage's parameter to a const-pointer param, and the return
to an out-param by pointer.
Note I wanted to pass PP_Var by const-pointer, while its "default" is
by value. So I added a new "constptr_in" param style.
(Maybe I should invert that and add a byvalue instead?)
Verified backwards compat with manual testing.
BUG=384539
R=asvitkine@chromium.org, binji@chromium.org, teravest@chromium.org
Review URL: https://codereview.chromium.org/564573002
Cr-Commit-Position: refs/heads/master@{#295341}
Diffstat (limited to 'ppapi/proxy/interface_list.cc')
-rw-r--r-- | ppapi/proxy/interface_list.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/proxy/interface_list.cc b/ppapi/proxy/interface_list.cc index 295069e..3e9003f 100644 --- a/ppapi/proxy/interface_list.cc +++ b/ppapi/proxy/interface_list.cc @@ -17,6 +17,7 @@ #include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h" #include "ppapi/c/dev/ppb_ime_input_event_dev.h" #include "ppapi/c/dev/ppb_memory_dev.h" +#include "ppapi/c/dev/ppb_messaging_deprecated.h" #include "ppapi/c/dev/ppb_opengles2ext_dev.h" #include "ppapi/c/dev/ppb_printing_dev.h" #include "ppapi/c/dev/ppb_scrollbar_dev.h" |