summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_rendercontext.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-14 15:49:46 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-14 20:05:09 +0000
commit2d883813f969dcb88e240b6bd7bcd5af9e782331 (patch)
treed93ec2713e34712ed137804f1eccc252b592f347 /xfa/fde/cfde_rendercontext.h
parent2d03e604b3979db45f6f2ea8c00c8d7fe0790790 (diff)
downloadpdfium-2d883813f969dcb88e240b6bd7bcd5af9e782331.tar.xz
Merge CFDE_RenderContext into CFWL_Edit
This CL removes CFDE_RenderContext and moves the ::Render method to be ::RenderText on the CFWL_Edit class which was the only caller. Change-Id: Ic940a3f0d10cfce169f5e491de90803fc8a7940d Reviewed-on: https://pdfium-review.googlesource.com/10950 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_rendercontext.h')
-rw-r--r--xfa/fde/cfde_rendercontext.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/xfa/fde/cfde_rendercontext.h b/xfa/fde/cfde_rendercontext.h
deleted file mode 100644
index 6be77c6453..0000000000
--- a/xfa/fde/cfde_rendercontext.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef XFA_FDE_CFDE_RENDERCONTEXT_H_
-#define XFA_FDE_CFDE_RENDERCONTEXT_H_
-
-#include "core/fxcrt/fx_coordinates.h"
-
-class CFDE_RenderDevice;
-class CFDE_TxtEdtPage;
-class CFDE_TxtEdtTextSet;
-
-class CFDE_RenderContext {
- public:
- explicit CFDE_RenderContext(CFDE_RenderDevice* pRenderDevice);
- ~CFDE_RenderContext();
-
- void Render(CFDE_TxtEdtPage* pCanvasSet, const CFX_Matrix& tmDoc2Device);
-
- private:
- CFDE_RenderDevice* m_pRenderDevice;
-};
-
-#endif // XFA_FDE_CFDE_RENDERCONTEXT_H_