diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-12 23:12:28 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-12 23:12:28 +0000 |
commit | c1ee48d04fb70cd0ac6dcf34d6a1ce59b2b9b565 (patch) | |
tree | 46e93af4692c896290c09098858804f781898099 /ipc/ipc_channel_nacl.cc | |
parent | 94aaf8a94581679fe64dc9d22b25df006bad015b (diff) | |
download | chromium_src-c1ee48d04fb70cd0ac6dcf34d6a1ce59b2b9b565.zip chromium_src-c1ee48d04fb70cd0ac6dcf34d6a1ce59b2b9b565.tar.gz chromium_src-c1ee48d04fb70cd0ac6dcf34d6a1ce59b2b9b565.tar.bz2 |
Add support for marshalling unsigned char in IPC.
Previously, we've supported unsigned short, but not unsigned char. There
are a few places where folks are passing around color values that must be
in the 0..255, and we can save both bytes written and avoid explicit range
checks by the receiving method by using this rather than larger types.
We support unsigned char only. Signed char is evil due to questionable
signedness in the C specs.
I've re-arranged the order of these specializatons so that they go in
order of increasing size as they go down the page.
R=jam@chromium.org
BUG=259903
Review URL: https://chromiumcodereview.appspot.com/18068016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211473 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_nacl.cc')
0 files changed, 0 insertions, 0 deletions