diff options
Diffstat (limited to 'fxjs/cfxjse_arguments.cpp')
-rw-r--r-- | fxjs/cfxjse_arguments.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fxjs/cfxjse_arguments.cpp b/fxjs/cfxjse_arguments.cpp index 174fd3c2c7..e18e3e3d96 100644 --- a/fxjs/cfxjse_arguments.cpp +++ b/fxjs/cfxjse_arguments.cpp @@ -28,9 +28,7 @@ std::unique_ptr<CFXJSE_Value> CFXJSE_Arguments::GetValue(int32_t index) const { } bool CFXJSE_Arguments::GetBoolean(int32_t index) const { - return (*m_pInfo)[index] - ->BooleanValue(m_pInfo->GetIsolate()->GetCurrentContext()) - .FromMaybe(false); + return (*m_pInfo)[index]->BooleanValue(m_pInfo->GetIsolate()); } int32_t CFXJSE_Arguments::GetInt32(int32_t index) const { |