Index: xfa/src/fxjse/src/value.h |
diff --git a/xfa/src/fxjse/src/value.h b/xfa/src/fxjse/src/value.h |
index eb118fd5c6fd886dd120f3d492de921f8823aa63..547ae9251f1a73ab81f0587631db2ecbab39132c 100644 |
--- a/xfa/src/fxjse/src/value.h |
+++ b/xfa/src/fxjse/src/value.h |
@@ -209,7 +209,7 @@ public: |
{ |
return m_pIsolate; |
} |
- V8_INLINE const v8::Persistent<v8::Value>& DirectGetValue() const |
+ V8_INLINE const v8::Global<v8::Value>& DirectGetValue() const |
{ |
return m_hValue; |
} |
@@ -229,7 +229,7 @@ public: |
static CFXJSE_Value* Create(v8::Isolate* pIsolate); |
protected: |
v8::Isolate* m_pIsolate; |
- v8::Persistent<v8::Value> m_hValue; |
+ v8::Global<v8::Value> m_hValue; |
friend class CFXJSE_Context; |
friend class CFXJSE_Class; |
}; |