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/cpp/dev/selection_dev.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/cpp/dev/selection_dev.cc')
-rw-r--r-- | ppapi/cpp/dev/selection_dev.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ppapi/cpp/dev/selection_dev.cc b/ppapi/cpp/dev/selection_dev.cc index f5c8cad..b086ac1 100644 --- a/ppapi/cpp/dev/selection_dev.cc +++ b/ppapi/cpp/dev/selection_dev.cc @@ -4,7 +4,6 @@ #include "ppapi/cpp/dev/selection_dev.h" -#include "ppapi/cpp/common.h" #include "ppapi/cpp/instance.h" #include "ppapi/cpp/module.h" #include "ppapi/cpp/var.h" @@ -21,7 +20,7 @@ PP_Var GetSelectedText(PP_Instance instance, PP_Bool html) { if (!object) return Var().Detach(); return static_cast<Selection_Dev*>(object)-> - GetSelectedText(PPBoolToBool(html)).Detach(); + GetSelectedText(PP_ToBool(html)).Detach(); } const PPP_Selection_Dev ppp_selection = { |