diff options
Diffstat (limited to 'xfa/src/fxjse')
-rw-r--r-- | xfa/src/fxjse/src/class.cpp | 2 | ||||
-rw-r--r-- | xfa/src/fxjse/src/context.cpp | 2 | ||||
-rw-r--r-- | xfa/src/fxjse/src/runtime.cpp | 4 | ||||
-rw-r--r-- | xfa/src/fxjse/src/value.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/xfa/src/fxjse/src/class.cpp b/xfa/src/fxjse/src/class.cpp index d186238238..5f6f99a0d4 100644 --- a/xfa/src/fxjse/src/class.cpp +++ b/xfa/src/fxjse/src/class.cpp @@ -247,7 +247,7 @@ CFXJSE_Class* CFXJSE_Class::Create(CFXJSE_Context* lpContext, return pClass;
}
v8::Isolate* pIsolate = lpContext->m_pIsolate;
- pClass = FX_NEW CFXJSE_Class(lpContext);
+ pClass = new CFXJSE_Class(lpContext);
ASSERT(pClass);
pClass->m_szClassName = lpClassDefinition->name;
CFXJSE_ScopeUtil_IsolateHandleRootContext scope(pIsolate);
diff --git a/xfa/src/fxjse/src/context.cpp b/xfa/src/fxjse/src/context.cpp index cc8f6cf342..eab41a93dd 100644 --- a/xfa/src/fxjse/src/context.cpp +++ b/xfa/src/fxjse/src/context.cpp @@ -146,7 +146,7 @@ CFXJSE_Context* CFXJSE_Context::Create(v8::Isolate* pIsolate, const FXJSE_CLASS* lpGlobalClass,
void* lpGlobalObject) {
CFXJSE_ScopeUtil_IsolateHandle scope(pIsolate);
- CFXJSE_Context* pContext = FX_NEW CFXJSE_Context(pIsolate);
+ CFXJSE_Context* pContext = new CFXJSE_Context(pIsolate);
CFXJSE_Class* lpGlobalClassObj = NULL;
v8::Local<v8::ObjectTemplate> hObjectTemplate;
if (lpGlobalClass) {
diff --git a/xfa/src/fxjse/src/runtime.cpp b/xfa/src/fxjse/src/runtime.cpp index bfdb089f57..a7ee67bc2a 100644 --- a/xfa/src/fxjse/src/runtime.cpp +++ b/xfa/src/fxjse/src/runtime.cpp @@ -22,7 +22,7 @@ static void FXJSE_KillV8() { }
void FXJSE_Initialize() {
if (!CFXJSE_RuntimeData::g_RuntimeList) {
- CFXJSE_RuntimeData::g_RuntimeList = FX_NEW CFXJSE_RuntimeList;
+ CFXJSE_RuntimeData::g_RuntimeList = new CFXJSE_RuntimeList;
}
static FX_BOOL bV8Initialized = FALSE;
if (bV8Initialized) {
@@ -72,7 +72,7 @@ void FXJSE_Runtime_Release(FXJSE_HRUNTIME hRuntime) { }
}
CFXJSE_RuntimeData* CFXJSE_RuntimeData::Create(v8::Isolate* pIsolate) {
- CFXJSE_RuntimeData* pRuntimeData = FX_NEW CFXJSE_RuntimeData(pIsolate);
+ CFXJSE_RuntimeData* pRuntimeData = new CFXJSE_RuntimeData(pIsolate);
ASSERT(pRuntimeData);
CFXJSE_ScopeUtil_IsolateHandle scope(pIsolate);
v8::Local<v8::FunctionTemplate> hFuncTemplate =
diff --git a/xfa/src/fxjse/src/value.cpp b/xfa/src/fxjse/src/value.cpp index 8402a78fef..1ef7ceecb8 100644 --- a/xfa/src/fxjse/src/value.cpp +++ b/xfa/src/fxjse/src/value.cpp @@ -268,7 +268,7 @@ void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Name, pIsolate->ThrowException(hError);
}
CFXJSE_Value* CFXJSE_Value::Create(v8::Isolate* pIsolate) {
- return FX_NEW CFXJSE_Value(pIsolate);
+ return new CFXJSE_Value(pIsolate);
}
void* CFXJSE_Value::ToObject(CFXJSE_Class* lpClass) const {
ASSERT(!m_hValue.IsEmpty());
|