Index: fpdfsdk/src/fsdk_mgr.cpp |
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp |
index 5b94aef600f9039bc564bcc4259fa283468fe70d..6123dc8c9ba2b83acd7624adfb5d4c775a848a26 100644 |
--- a/fpdfsdk/src/fsdk_mgr.cpp |
+++ b/fpdfsdk/src/fsdk_mgr.cpp |
@@ -10,7 +10,6 @@ |
#include "../include/fsdk_mgr.h" |
#include "../include/formfiller/FFL_FormFiller.h" |
#include "../include/javascript/IJavaScript.h" |
-#include "../include/javascript/JS_Runtime.h" |
#if _FX_OS_ == _FX_ANDROID_ |
#include "time.h" |
@@ -374,7 +373,7 @@ IFXJS_Runtime* CPDFDoc_Environment::GetJSRuntime() { |
if (!IsJSInitiated()) |
return NULL; |
if (!m_pJSRuntime) |
- m_pJSRuntime.reset(new CJS_Runtime(this)); |
+ m_pJSRuntime.reset(IFXJS_Runtime::Create(this)); |
return m_pJSRuntime.get(); |
} |