summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_arguments.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-19 18:06:52 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-19 18:06:52 +0000
commitaf3d6cc8910fbddc7518f9d54f4c4ad0dd25ed40 (patch)
tree08040e04003114de096421a3fa687cd6ce58ebf3 /fxjs/cfxjse_arguments.cpp
parentcdebbeb8cca214ffb518a9cdc7f51ac376608b8c (diff)
downloadpdfium-af3d6cc8910fbddc7518f9d54f4c4ad0dd25ed40.tar.xz
Roll v8/ 604c50c84..626844157 (516 commits)chromium/3588chromium/3587chromium/3586
https://chromium.googlesource.com/v8/v8.git/+log/604c50c84e67..626844157660 Version 7.1.314 Update a few callers to avoid deprecated V8 APIs. Created with: roll-dep v8 Change-Id: Ifabcae4956364cf1d02d4c2fe6074806fadc7ee3 Reviewed-on: https://pdfium-review.googlesource.com/c/43595 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_arguments.cpp')
-rw-r--r--fxjs/cfxjse_arguments.cpp4
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 {