summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Runtime.cpp')
-rw-r--r--fpdfsdk/src/javascript/JS_Runtime.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp
index a17b8e23a5..fcf6ee8795 100644
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp
@@ -29,7 +29,7 @@
/* ------------------------------ CJS_Runtime ------------------------------ */
-IFXJS_Runtime* IFXJS_Runtime::Create(CPDFDoc_Environment* pEnv) {
+IJS_Runtime* IJS_Runtime::Create(CPDFDoc_Environment* pEnv) {
return new CJS_Runtime(pEnv);
}
@@ -123,13 +123,13 @@ void CJS_Runtime::DefineJSObjects() {
CJS_PrintParamsObj::DefineJSObjects(GetIsolate(), FXJSOBJTYPE_DYNAMIC);
}
-IFXJS_Context* CJS_Runtime::NewContext() {
+IJS_Context* CJS_Runtime::NewContext() {
CJS_Context* p = new CJS_Context(this);
m_ContextArray.Add(p);
return p;
}
-void CJS_Runtime::ReleaseContext(IFXJS_Context* pContext) {
+void CJS_Runtime::ReleaseContext(IJS_Context* pContext) {
CJS_Context* pJSContext = (CJS_Context*)pContext;
for (int i = 0, sz = m_ContextArray.GetSize(); i < sz; i++) {
@@ -141,7 +141,7 @@ void CJS_Runtime::ReleaseContext(IFXJS_Context* pContext) {
}
}
-IFXJS_Context* CJS_Runtime::GetCurrentContext() {
+IJS_Context* CJS_Runtime::GetCurrentContext() {
if (!m_ContextArray.GetSize())
return NULL;
return m_ContextArray.GetAt(m_ContextArray.GetSize() - 1);