Index: fpdfsdk/javascript/cjs_runtime.cpp |
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp |
index 7ea9b158a5e615c73bd6197eebe80365e3f47b11..b12a3f5eeb278f77693b9dd825859acb5bc0c26e 100644 |
--- a/fpdfsdk/javascript/cjs_runtime.cpp |
+++ b/fpdfsdk/javascript/cjs_runtime.cpp |
@@ -9,6 +9,7 @@ |
#include <algorithm> |
#include "fpdfsdk/include/fsdk_mgr.h" |
+#include "fpdfsdk/javascript/Annot.h" |
#include "fpdfsdk/javascript/Consts.h" |
#include "fpdfsdk/javascript/Document.h" |
#include "fpdfsdk/javascript/Field.h" |
@@ -175,9 +176,10 @@ void CJS_Runtime::DefineJSObjects() { |
CJS_GlobalConsts::DefineJSObjects(this); |
CJS_GlobalArrays::DefineJSObjects(this); |
- // ObjDefIDs 21 - 22. |
+ // ObjDefIDs 21 - 23. |
CJS_TimerObj::DefineJSObjects(this, FXJSOBJTYPE_DYNAMIC); |
CJS_PrintParamsObj::DefineJSObjects(this, FXJSOBJTYPE_DYNAMIC); |
+ CJS_Annot::DefineJSObjects(this, FXJSOBJTYPE_DYNAMIC); |
} |
IJS_Context* CJS_Runtime::NewContext() { |