summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cpdf_pagerendercontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/cpdf_pagerendercontext.h')
-rw-r--r--core/fpdfapi/cpdf_pagerendercontext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/cpdf_pagerendercontext.h b/core/fpdfapi/cpdf_pagerendercontext.h
index 27244e7fc3..5cbcdb7759 100644
--- a/core/fpdfapi/cpdf_pagerendercontext.h
+++ b/core/fpdfapi/cpdf_pagerendercontext.h
@@ -21,11 +21,12 @@ class CPDF_PageRenderContext {
CPDF_PageRenderContext();
~CPDF_PageRenderContext();
+ // Specific destruction order required.
std::unique_ptr<CPDF_AnnotList> m_pAnnots;
+ std::unique_ptr<CPDF_RenderOptions> m_pOptions;
std::unique_ptr<CFX_RenderDevice> m_pDevice;
std::unique_ptr<CPDF_RenderContext> m_pContext;
std::unique_ptr<CPDF_ProgressiveRenderer> m_pRenderer;
- std::unique_ptr<CPDF_RenderOptions> m_pOptions;
};
#endif // CORE_FPDFAPI_CPDF_PAGERENDERCONTEXT_H_