diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 05:22:45 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 05:22:45 +0000 |
commit | 8a855a09b24c77e1b25471a3e3839926630f9e38 (patch) | |
tree | fb4a8c175d00726bb6d1924b91322e2209be2875 /ppapi/proxy/ppapi_param_traits.cc | |
parent | 67512c7eb8d859c2b7b22f38cce2d9562ac049ca (diff) | |
download | chromium_src-8a855a09b24c77e1b25471a3e3839926630f9e38.zip chromium_src-8a855a09b24c77e1b25471a3e3839926630f9e38.tar.gz chromium_src-8a855a09b24c77e1b25471a3e3839926630f9e38.tar.bz2 |
Remove PPBoolToBool and BoolToPPBool and use PP_FromBool and PP_ToBool instead.
I will remove ppapi/cpp/common.h when I'm sure nacl doesn't need it.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/7237039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppapi_param_traits.cc')
-rw-r--r-- | ppapi/proxy/ppapi_param_traits.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/ppapi_param_traits.cc b/ppapi/proxy/ppapi_param_traits.cc index 4c3d2fb..87c253b 100644 --- a/ppapi/proxy/ppapi_param_traits.cc +++ b/ppapi/proxy/ppapi_param_traits.cc @@ -78,7 +78,7 @@ void WriteVectorWithoutCopy(Message* m, const std::vector<T>& p) { // static void ParamTraits<PP_Bool>::Write(Message* m, const param_type& p) { - ParamTraits<bool>::Write(m, pp::proxy::PPBoolToBool(p)); + ParamTraits<bool>::Write(m, PP_ToBool(p)); } // static @@ -89,7 +89,7 @@ bool ParamTraits<PP_Bool>::Read(const Message* m, void** iter, param_type* r) { bool result = false; if (!ParamTraits<bool>::Read(m, iter, &result)) return false; - *r = pp::proxy::BoolToPPBool(result); + *r = PP_FromBool(result); return true; } |