summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Document.h')
-rw-r--r--fpdfsdk/javascript/Document.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/fpdfsdk/javascript/Document.h b/fpdfsdk/javascript/Document.h
index 661307e62a..91ca778c79 100644
--- a/fpdfsdk/javascript/Document.h
+++ b/fpdfsdk/javascript/Document.h
@@ -41,20 +41,9 @@ class CJS_PrintParamsObj : public CJS_Object {
DECLARE_JS_CLASS();
};
-class Icon;
-class Field;
-
-struct IconElement {
- IconElement(const CFX_WideString& name, Icon* stream)
- : IconName(name), IconStream(stream) {}
-
- const CFX_WideString IconName;
- Icon* const IconStream;
-};
-
-struct CJS_DelayData;
-struct CJS_DelayAnnot;
struct CJS_AnnotObj;
+struct CJS_DelayAnnot;
+struct CJS_DelayData;
class Document : public CJS_EmbedObj {
public:
@@ -318,7 +307,8 @@ class Document : public CJS_EmbedObj {
CPDFSDK_FormFillEnvironment::ObservedPtr m_pFormFillEnv;
CFX_WideString m_cwBaseURL;
std::list<std::unique_ptr<CJS_DelayData>> m_DelayData;
- std::list<std::unique_ptr<IconElement>> m_Icons; // For iterator stability.
+ // Needs to be a std::list for iterator stability.
+ std::list<CFX_WideString> m_IconNames;
bool m_bDelay;
};