diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cfxjse_engine.h | 2 | ||||
-rw-r--r-- | fxjs/xfa/cjx_object.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/fxjs/cfxjse_engine.h b/fxjs/cfxjse_engine.h index 62de0614c4..0ae16df84e 100644 --- a/fxjs/cfxjse_engine.h +++ b/fxjs/cfxjse_engine.h @@ -56,7 +56,7 @@ class CFXJSE_Engine : public CFX_V8 { ~CFXJSE_Engine() override; void SetEventParam(CXFA_EventParam* param) { m_eventParam = param; } - CXFA_EventParam* GetEventParam() { return m_eventParam.Get(); } + CXFA_EventParam* GetEventParam() const { return m_eventParam.Get(); } bool RunScript(CXFA_Script::Type eScriptType, const WideStringView& wsScript, CFXJSE_Value* pRetValue, diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h index 44df6c4c5a..0ee2b66199 100644 --- a/fxjs/xfa/cjx_object.h +++ b/fxjs/xfa/cjx_object.h @@ -60,10 +60,8 @@ class CJX_Object { JS_PROP(className); - CXFA_Object* GetXFAObject() { return object_.Get(); } - const CXFA_Object* GetXFAObject() const { return object_.Get(); } - CXFA_Document* GetDocument() const; + CXFA_Object* GetXFAObject() const { return object_.Get(); } void SetCalcRecursionCount(size_t count) { calc_recursion_count_ = count; } size_t GetCalcRecursionCount() const { return calc_recursion_count_; } |