From 213a172779fddbd7e588ee2e2b3906ccc47d6896 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 7 Oct 2015 12:52:13 -0700 Subject: Rename IFXJS_Runtime and IFXJS_Context to IJS_. Nothing but sed. FXJS is a layer that makes it easier to define objects in V8, but has no knowledge of PDF-specific native objects. It could in theory be used to implement other sets of native objects. JS is the layer that implements PDF-specific native objects on top of FXJS. Therefore, the classes used to interface to JS should be named using IJS_. IFXJS_ is reserved for someday adding better API for FXJS iteslf. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1386173002 . --- fpdfsdk/src/fsdk_mgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fpdfsdk/src/fsdk_mgr.cpp') diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp index 6123dc8c9b..33e56de00d 100644 --- a/fpdfsdk/src/fsdk_mgr.cpp +++ b/fpdfsdk/src/fsdk_mgr.cpp @@ -369,11 +369,11 @@ void CPDFDoc_Environment::JS_docmailForm(void* mailData, } } -IFXJS_Runtime* CPDFDoc_Environment::GetJSRuntime() { +IJS_Runtime* CPDFDoc_Environment::GetJSRuntime() { if (!IsJSInitiated()) return NULL; if (!m_pJSRuntime) - m_pJSRuntime.reset(IFXJS_Runtime::Create(this)); + m_pJSRuntime.reset(IJS_Runtime::Create(this)); return m_pJSRuntime.get(); } @@ -593,7 +593,7 @@ FX_BOOL CPDFSDK_Document::GetPermissions(int nFlag) { return dwPermissions & nFlag; } -IFXJS_Runtime* CPDFSDK_Document::GetJsRuntime() { +IJS_Runtime* CPDFSDK_Document::GetJsRuntime() { ASSERT(m_pEnv != NULL); return m_pEnv->GetJSRuntime(); } -- cgit v1.2.3