summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_arguments.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-23 20:55:04 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-23 20:55:04 +0000
commit1116ef0b1c45a4968d45a21d995193a7670126b3 (patch)
tree6653d12dacae0cb6557eb6acbea41d1c607506a1 /fxjs/cfxjse_arguments.cpp
parent4c358488d0a8daf3a625cae842efcf27a3bb62f5 (diff)
downloadpdfium-1116ef0b1c45a4968d45a21d995193a7670126b3.tar.xz
Remove unused CFXJSE_Arguments::GetObject()chromium/3501
Insert another unowned ptr along the way. Change-Id: I953baa3448282fd4f655bb99524f131f66b7ed86 Reviewed-on: https://pdfium-review.googlesource.com/38593 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_arguments.cpp')
-rw-r--r--fxjs/cfxjse_arguments.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/fxjs/cfxjse_arguments.cpp b/fxjs/cfxjse_arguments.cpp
index 663996ce88..b8670ad981 100644
--- a/fxjs/cfxjse_arguments.cpp
+++ b/fxjs/cfxjse_arguments.cpp
@@ -45,15 +45,6 @@ ByteString CFXJSE_Arguments::GetUTF8String(int32_t index) const {
return ByteString(*szStringVal);
}
-CFXJSE_HostObject* CFXJSE_Arguments::GetObject(int32_t index,
- CFXJSE_Class* pClass) const {
- v8::Local<v8::Value> hValue = (*m_pInfo)[index];
- ASSERT(!hValue.IsEmpty());
- if (!hValue->IsObject())
- return nullptr;
- return FXJSE_RetrieveObjectBinding(hValue.As<v8::Object>(), pClass);
-}
-
CFXJSE_Value* CFXJSE_Arguments::GetReturnValue() const {
return m_pRetValue.Get();
}