IJS_Runtime* CPDFDoc_Environment::GetJSRuntime() { if (!IsJSInitiated()) return NULL; if (!m_pJSRuntime) m_pJSRuntime.reset(IJS_Runtime::Create(this)); return m_pJSRuntime.get(); }
IFXJS_Runtime* CPDFDoc_Environment::GetJSRuntime() { if (!IsJSInitiated()) return NULL; if (!m_pJSRuntime) m_pJSRuntime = m_pJSRuntimeFactory->NewJSRuntime(this); return m_pJSRuntime; }