diff options
Diffstat (limited to 'xfa/src/fxjse/src/value.h')
-rw-r--r-- | xfa/src/fxjse/src/value.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxjse/src/value.h b/xfa/src/fxjse/src/value.h index eb118fd5c6..547ae9251f 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;
};
|