diff options
author | Lei Zhang <thestig@chromium.org> | 2017-02-27 16:37:36 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-28 01:11:23 +0000 |
commit | 313c42553b5355fc7e2625114d58da6f8dc71e51 (patch) | |
tree | 85c06d75b9eed2248179f40766cf8be5b0e958eb /fpdfsdk/javascript/Document.h | |
parent | a99de0ec3cda8ff5b0d6383a059dd39c8626e504 (diff) | |
download | pdfium-313c42553b5355fc7e2625114d58da6f8dc71e51.tar.xz |
Remove unused IconElement::IconStream.
Follow up to https://pdfium-review.googlesource.com/c/2829/
Change-Id: Ic743a5931f743c3e0e3f24246dca768cec09be4f
Reviewed-on: https://pdfium-review.googlesource.com/2843
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/Document.h')
-rw-r--r-- | fpdfsdk/javascript/Document.h | 18 |
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; }; |