summaryrefslogtreecommitdiff
path: root/xfa/src/fxjse
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-20 10:21:36 -0700
committerLei Zhang <thestig@chromium.org>2015-10-20 10:21:36 -0700
commit23378cdf2c0be861bddfffd82aed8cd6b07d77bf (patch)
tree325cc64b1d407e56bd603b01f3a08ec32144f2f1 /xfa/src/fxjse
parentdd11f8615fc20e638fbb6f6281c4564ed8927af3 (diff)
downloadpdfium-23378cdf2c0be861bddfffd82aed8cd6b07d77bf.tar.xz
XFA: Remove cond ? TRUE : FALSE.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1409323003 .
Diffstat (limited to 'xfa/src/fxjse')
-rw-r--r--xfa/src/fxjse/src/class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxjse/src/class.cpp b/xfa/src/fxjse/src/class.cpp
index 891c7e1002..04b087f37f 100644
--- a/xfa/src/fxjse/src/class.cpp
+++ b/xfa/src/fxjse/src/class.cpp
@@ -183,7 +183,7 @@ FXJSE_HVALUE CFXJSE_Arguments::GetValue(int32_t index) const {
FX_BOOL CFXJSE_Arguments::GetBoolean(int32_t index) const {
const CFXJSE_ArgumentsImpl* lpArguments =
reinterpret_cast<const CFXJSE_ArgumentsImpl* const>(this);
- return (*lpArguments->m_pInfo)[index]->BooleanValue() ? TRUE : FALSE;
+ return (*lpArguments->m_pInfo)[index]->BooleanValue();
}
int32_t CFXJSE_Arguments::GetInt32(int32_t index) const {
const CFXJSE_ArgumentsImpl* lpArguments =