Index: fpdfsdk/javascript/ijs_runtime.h |
diff --git a/fpdfsdk/javascript/ijs_runtime.h b/fpdfsdk/javascript/ijs_runtime.h |
index 0c2bd042c6e9e9a3bcf97586407932775368290c..e656545b56e725ced1be537bffb46ffe1ca308bd 100644 |
--- a/fpdfsdk/javascript/ijs_runtime.h |
+++ b/fpdfsdk/javascript/ijs_runtime.h |
@@ -14,7 +14,7 @@ |
#include "fxjs/fxjse.h" |
#endif // PDF_ENABLE_XFA |
-class CPDFSDK_Environment; |
+class CPDFSDK_FormFillEnvironment; |
class CPDFSDK_Document; |
class IJS_Context; |
@@ -23,7 +23,7 @@ class IJS_Runtime { |
public: |
static void Initialize(unsigned int slot, void* isolate); |
static void Destroy(); |
- static IJS_Runtime* Create(CPDFSDK_Environment* pEnv); |
+ static IJS_Runtime* Create(CPDFSDK_FormFillEnvironment* pEnv); |
virtual ~IJS_Runtime() {} |
virtual IJS_Context* NewContext() = 0; |