summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_value.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-06 21:36:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-06 21:36:01 +0000
commit6c3665776eb6276be2b2314cd4242e7c21610ea2 (patch)
treeafe72e2a412d7d0de97d6444bcbc84aa5bb3c3fa /fxjs/cfxjse_value.h
parent67687896d2959494d2e689ffbbc9c86098e54280 (diff)
downloadpdfium-6c3665776eb6276be2b2314cd4242e7c21610ea2.tar.xz
Cleanup CFXJSE_Value::SetObject
All of the callers to SetObject pass in the class so we can remove the class check. The SetJSObject method is no longer needed. The SetHostObject method has been merged into the SetObject method. Change-Id: Id80931b88cc0656d021350ea8d62369513b86b9d Reviewed-on: https://pdfium-review.googlesource.com/17858 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_value.h')
-rw-r--r--fxjs/cfxjse_value.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fxjs/cfxjse_value.h b/fxjs/cfxjse_value.h
index f506857965..52905db90f 100644
--- a/fxjs/cfxjse_value.h
+++ b/fxjs/cfxjse_value.h
@@ -51,10 +51,8 @@ class CFXJSE_Value {
void SetDouble(double dDouble);
void SetString(const ByteStringView& szString);
void SetFloat(float fFloat);
- void SetJSObject();
void SetObject(CFXJSE_HostObject* lpObject, CFXJSE_Class* pClass);
- void SetHostObject(CFXJSE_HostObject* lpObject, CFXJSE_Class* lpClass);
void SetArray(const std::vector<std::unique_ptr<CFXJSE_Value>>& values);
void SetDate(double dDouble);