diff options
Diffstat (limited to 'xfa/src/fxjse')
-rw-r--r-- | xfa/src/fxjse/src/class.h | 4 | ||||
-rw-r--r-- | xfa/src/fxjse/src/dynprop.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/xfa/src/fxjse/src/class.h b/xfa/src/fxjse/src/class.h index 4af7c07723..90cabe6542 100644 --- a/xfa/src/fxjse/src/class.h +++ b/xfa/src/fxjse/src/class.h @@ -10,8 +10,8 @@ class CFXJSE_Context; class CFXJSE_Value;
class CFXJSE_Class {
protected:
- CFXJSE_Class(CFXJSE_Context* lpContext) - : m_pContext(lpContext), m_lpClassDefinition(nullptr) {} + CFXJSE_Class(CFXJSE_Context* lpContext)
+ : m_lpClassDefinition(nullptr), m_pContext(lpContext) {}
public:
inline CFXJSE_Context* GetContext() { return m_pContext; }
diff --git a/xfa/src/fxjse/src/dynprop.cpp b/xfa/src/fxjse/src/dynprop.cpp index b9dab225ac..413a431cae 100644 --- a/xfa/src/fxjse/src/dynprop.cpp +++ b/xfa/src/fxjse/src/dynprop.cpp @@ -347,7 +347,6 @@ static void FXJSE_V8_GenericNamedPropertySetterCallback( v8::Local<v8::Object> thisObject = info.This();
const FXJSE_CLASS* lpClass =
static_cast<FXJSE_CLASS*>(info.Data().As<v8::External>()->Value());
- v8::Isolate* pIsolate = info.GetIsolate();
v8::String::Utf8Value szPropName(property);
CFX_ByteStringC szFxPropName(*szPropName, szPropName.length());
CFXJSE_Value* lpThisValue = CFXJSE_Value::Create(info.GetIsolate());
@@ -363,7 +362,6 @@ static void FXJSE_V8_GenericNamedPropertySetterCallback( }
static void FXJSE_V8_GenericNamedPropertyEnumeratorCallback(
const v8::PropertyCallbackInfo<v8::Array>& info) {
- v8::Local<v8::Object> thisObject = info.This();
const FXJSE_CLASS* lpClass =
static_cast<FXJSE_CLASS*>(info.Data().As<v8::External>()->Value());
v8::Isolate* pIsolate = info.GetIsolate();
|