| Index: fpdfsdk/javascript/cjs_context.cpp
|
| diff --git a/fpdfsdk/javascript/cjs_context.cpp b/fpdfsdk/javascript/cjs_context.cpp
|
| index c37fdab738a0ff2dbf8e19e69c547de35151b09b..87b8b439751288514dd11450a1ba192e7e37b84c 100644
|
| --- a/fpdfsdk/javascript/cjs_context.cpp
|
| +++ b/fpdfsdk/javascript/cjs_context.cpp
|
| @@ -33,7 +33,7 @@ FX_BOOL CJS_Context::RunScript(const CFX_WideString& script,
|
| v8::Context::Scope context_scope(context);
|
|
|
| if (m_bBusy) {
|
| - *info = JSGetStringFromID(this, IDS_STRING_JSBUSY);
|
| + *info = JSGetStringFromID(IDS_STRING_JSBUSY);
|
| return FALSE;
|
| }
|
| m_bBusy = TRUE;
|
| @@ -42,7 +42,7 @@ FX_BOOL CJS_Context::RunScript(const CFX_WideString& script,
|
| CJS_Runtime::FieldEvent event(m_pEventHandler->TargetName(),
|
| m_pEventHandler->EventType());
|
| if (!m_pRuntime->AddEventToSet(event)) {
|
| - *info = JSGetStringFromID(this, IDS_STRING_JSEVENT);
|
| + *info = JSGetStringFromID(IDS_STRING_JSEVENT);
|
| return FALSE;
|
| }
|
|
|
| @@ -55,7 +55,7 @@ FX_BOOL CJS_Context::RunScript(const CFX_WideString& script,
|
| if (nRet < 0) {
|
| *info += sErrorMessage;
|
| } else {
|
| - *info = JSGetStringFromID(this, IDS_STRING_RUN);
|
| + *info = JSGetStringFromID(IDS_STRING_RUN);
|
| }
|
|
|
| m_pRuntime->RemoveEventFromSet(event);
|
|
|