Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #include "core/fpdfapi/include/cpdf_pagerendercontext.h" | |
| 8 | |
| 9 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" | |
| 10 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" | |
| 11 #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" | |
| 12 #include "core/fpdfdoc/cpdf_annotlist.h" | |
| 13 #include "core/fpdfdoc/include/fpdf_doc.h" | |
| 14 #include "core/fxge/include/fx_ge.h" | |
| 15 | |
| 16 CPDF_PageRenderContext::CPDF_PageRenderContext() {} | |
| 17 | |
| 18 CPDF_PageRenderContext::~CPDF_PageRenderContext() { | |
| 19 if (m_pOptions && m_pOptions->m_pOCContext) | |
|
Lei Zhang
2016/07/23 04:33:58
You don't have to check m_pOptions->m_pOCContext,
Wei Li
2016/07/24 15:03:42
Done.
| |
| 20 delete m_pOptions->m_pOCContext; | |
| 21 } | |
| OLD | NEW |