Index: fpdfsdk/include/javascript/JS_Define.h |
diff --git a/fpdfsdk/include/javascript/JS_Define.h b/fpdfsdk/include/javascript/JS_Define.h |
index e9475a03a29d7038345b0228b977548e564ddf99..8310ae25fb76654ef76d0a8c8e8cbc77caacd0b7 100644 |
--- a/fpdfsdk/include/javascript/JS_Define.h |
+++ b/fpdfsdk/include/javascript/JS_Define.h |
@@ -69,7 +69,7 @@ void JSPropGetter(const char* prop_name_string, |
JS_Error(isolate, JSFormatErrorString(class_name_string, prop_name_string, sError)); |
return; |
} |
- info.GetReturnValue().Set((v8::Handle<v8::Value>)value); |
+ info.GetReturnValue().Set((v8::Local<v8::Value>)value); |
} |
template <class C, FX_BOOL (C::*M)(IFXJS_Context*, CJS_PropValue&, CFX_WideString&)> |
@@ -255,7 +255,7 @@ void JSSpecialPropGet(const char* class_name, |
JS_Error(isolate, JSFormatErrorString(class_name, "GetProperty", sError)); |
return; |
} |
- info.GetReturnValue().Set((v8::Handle<v8::Value>)value); |
+ info.GetReturnValue().Set((v8::Local<v8::Value>)value); |
} |
template <class Alt> |
@@ -445,6 +445,6 @@ if (JS_DefineGlobalConst(pRuntime, (const wchar_t*)ArrayName, prop.ToV8Value()) |
#define VALUE_NAME_NULL L"null" |
#define VALUE_NAME_UNDEFINED L"undefined" |
-FXJSVALUETYPE GET_VALUE_TYPE(v8::Handle<v8::Value> p); |
+FXJSVALUETYPE GET_VALUE_TYPE(v8::Local<v8::Value> p); |
#endif //_JS_DEFINE_H_ |