| Index: fpdfsdk/javascript/JS_Define.h
|
| diff --git a/fpdfsdk/javascript/JS_Define.h b/fpdfsdk/javascript/JS_Define.h
|
| index 6aa1dec768e89cf77d4e37c2c2a8c8778663bee1..e120758c60f91bf666846da03cbbf7cdb2ae354a 100644
|
| --- a/fpdfsdk/javascript/JS_Define.h
|
| +++ b/fpdfsdk/javascript/JS_Define.h
|
| @@ -92,7 +92,7 @@ void JSPropGetter(const char* prop_name_string,
|
| sError));
|
| return;
|
| }
|
| - info.GetReturnValue().Set((v8::Local<v8::Value>)value);
|
| + info.GetReturnValue().Set(value.ToV8Value());
|
| }
|
|
|
| template <class C,
|
| @@ -383,7 +383,7 @@ void JSSpecialPropGet(const char* class_name,
|
| FXJS_Error(isolate, JSFormatErrorString(class_name, "GetProperty", sError));
|
| return;
|
| }
|
| - info.GetReturnValue().Set((v8::Local<v8::Value>)value);
|
| + info.GetReturnValue().Set(value.ToV8Value());
|
| }
|
|
|
| template <class Alt>
|
|
|