Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: core/fpdfapi/rendercontext.cpp

Issue 2180443002: Use actual type instead CFX_Deletable (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: style fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698