summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Icon.cpp')
-rw-r--r--fpdfsdk/javascript/Icon.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/fpdfsdk/javascript/Icon.cpp b/fpdfsdk/javascript/Icon.cpp
index 6083307931..7c340af0d2 100644
--- a/fpdfsdk/javascript/Icon.cpp
+++ b/fpdfsdk/javascript/Icon.cpp
@@ -25,15 +25,13 @@ Icon::Icon(CJS_Object* pJSObject)
Icon::~Icon() {}
-bool Icon::get_name(CJS_Runtime* pRuntime,
- CJS_PropValue* vp,
- WideString* sError) {
- vp->Set(m_swIconName);
+bool Icon::get_name(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError) {
+ vp->Set(pRuntime, m_swIconName);
return true;
}
bool Icon::set_name(CJS_Runtime* pRuntime,
- const CJS_PropValue& vp,
+ const CJS_Value& vp,
WideString* sError) {
return false;
}