| Index: fpdfsdk/src/jsapi/fxjs_v8.cpp
|
| diff --git a/fpdfsdk/src/jsapi/fxjs_v8.cpp b/fpdfsdk/src/jsapi/fxjs_v8.cpp
|
| index 5a77713fb407dd7cdf79d4cdfa33be8866dd115f..c55c092d1774bceae50fdab83774e7bc1c9728bf 100644
|
| --- a/fpdfsdk/src/jsapi/fxjs_v8.cpp
|
| +++ b/fpdfsdk/src/jsapi/fxjs_v8.cpp
|
| @@ -90,7 +90,7 @@ int JS_DefineObj(IJS_Runtime* pJSRuntime, const wchar_t* sObjName, FXJSOBJTYPE e
|
| return pArray->GetSize()-1;
|
| }
|
|
|
| -int JS_DefineObjMethod(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sMethodName, v8::FunctionCallback pMethodCall, unsigned nParamNum)
|
| +int JS_DefineObjMethod(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sMethodName, v8::FunctionCallback pMethodCall)
|
| {
|
| v8::Isolate* isolate = (v8::Isolate*)pJSRuntime;
|
| v8::Isolate::Scope isolate_scope(isolate);
|
| @@ -185,7 +185,7 @@ static v8::Persistent<v8::ObjectTemplate>& _getGlobalObjectTemplate(IJS_Runtime*
|
| return gloabalObjectTemplate;
|
| }
|
|
|
| -int JS_DefineGlobalMethod(IJS_Runtime* pJSRuntime, const wchar_t* sMethodName, v8::FunctionCallback pMethodCall, unsigned nParamNum)
|
| +int JS_DefineGlobalMethod(IJS_Runtime* pJSRuntime, const wchar_t* sMethodName, v8::FunctionCallback pMethodCall)
|
| {
|
| v8::Isolate* isolate = (v8::Isolate*)pJSRuntime;
|
| v8::Isolate::Scope isolate_scope(isolate);
|
|
|