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/rendercontext.h" | |
| 8 | |
| 9 #include "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h" | |
|
Lei Zhang
2016/07/22 22:49:16
Do we need all these includes?
Wei Li
2016/07/23 03:01:13
Yes, since I only use forward declaration in the 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 CRenderContext::CRenderContext() {} | |
| 17 | |
| 18 CRenderContext::~CRenderContext() { | |
| 19 delete m_pOptions->m_pOCContext; | |
|
Lei Zhang
2016/07/22 22:49:16
A bit worried here because CRenderContext doesn't
Wei Li
2016/07/23 03:01:13
The use of |m_pOCContext| is a bit messy.
Added a
| |
| 20 } | |
| OLD | NEW |