summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_arguments.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-03 06:10:26 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-03 06:10:26 -0700
commit304bb91238d6909cb5e170f8fc483aa7862558d5 (patch)
tree5183cddcd2bf05354c5cb424e18f57eb56780dea /fxjs/cfxjse_arguments.h
parentd19e912dd469e4bdad9f3020e1f6eb98f10f3470 (diff)
downloadpdfium-304bb91238d6909cb5e170f8fc483aa7862558d5.tar.xz
Remove FX_BOOL entirely.
FX_BOOL was a type just like a regular C++ bool, except that it took 4x the space and frequently was used to hold values besides true or false. Review-Url: https://codereview.chromium.org/2471353002
Diffstat (limited to 'fxjs/cfxjse_arguments.h')
-rw-r--r--fxjs/cfxjse_arguments.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cfxjse_arguments.h b/fxjs/cfxjse_arguments.h
index c38c2925ab..51e1981d03 100644
--- a/fxjs/cfxjse_arguments.h
+++ b/fxjs/cfxjse_arguments.h
@@ -22,7 +22,7 @@ class CFXJSE_Arguments {
v8::Isolate* GetRuntime() const;
int32_t GetLength() const;
std::unique_ptr<CFXJSE_Value> GetValue(int32_t index) const;
- FX_BOOL GetBoolean(int32_t index) const;
+ bool GetBoolean(int32_t index) const;
int32_t GetInt32(int32_t index) const;
FX_FLOAT GetFloat(int32_t index) const;
CFX_ByteString GetUTF8String(int32_t index) const;