OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "core/fpdfapi/include/cpdf_pagerendercontext.h" | 7 #include "core/fpdfapi/include/cpdf_pagerendercontext.h" |
8 | 8 |
9 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" | 9 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" |
10 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" | 10 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" |
11 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | 11 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" |
12 #include "core/fpdfdoc/include/cpdf_annotlist.h" | 12 #include "core/fpdfdoc/include/cpdf_annotlist.h" |
13 #include "core/fpdfdoc/include/cpdf_occontext.h" | 13 #include "core/fpdfdoc/include/cpdf_occontext.h" |
14 #include "core/fxge/include/fx_ge.h" | 14 #include "core/fxge/include/cfx_renderdevice.h" |
15 | 15 |
16 CPDF_PageRenderContext::CPDF_PageRenderContext() {} | 16 CPDF_PageRenderContext::CPDF_PageRenderContext() {} |
17 | 17 |
18 CPDF_PageRenderContext::~CPDF_PageRenderContext() { | 18 CPDF_PageRenderContext::~CPDF_PageRenderContext() { |
19 if (m_pOptions) | 19 if (m_pOptions) |
20 delete m_pOptions->m_pOCContext; | 20 delete m_pOptions->m_pOCContext; |
21 } | 21 } |
OLD | NEW |