diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-19 14:58:28 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-19 14:58:28 -0700 |
commit | 568aff520b4ca33d851317a4ea88807b4fd2da40 (patch) | |
tree | 02c6409057908381d36efcd556dd8082044d5509 /xfa/src/fdp/include/fde_rdr.h | |
parent | c49828916f5b0766f8d6f0fd5bf0a6cc5bd3c1ec (diff) | |
download | pdfium-568aff520b4ca33d851317a4ea88807b4fd2da40.tar.xz |
Fix -Wnon-virtual-dtor warnings on the XFA branch.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1183483003.
Diffstat (limited to 'xfa/src/fdp/include/fde_rdr.h')
-rw-r--r-- | xfa/src/fdp/include/fde_rdr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/src/fdp/include/fde_rdr.h b/xfa/src/fdp/include/fde_rdr.h index cbae1c26fa..aef459f24d 100644 --- a/xfa/src/fdp/include/fde_rdr.h +++ b/xfa/src/fdp/include/fde_rdr.h @@ -8,7 +8,7 @@ #define _FDE_RENDERCONTEXT
class IFDE_Page;
class IFDE_RenderDevice;
-class IFDE_RenderContext;
+
void FDE_GetPageMatrix(CFX_Matrix &pageMatrix, const CFX_RectF &docPageRect, const CFX_Rect &devicePageRect, int32_t iRotate, FX_DWORD dwCoordinatesType = 0);
enum FDE_RENDERSTATUS {
FDE_RENDERSTATUS_Reset = 0,
@@ -16,10 +16,12 @@ enum FDE_RENDERSTATUS { FDE_RENDERSTATUS_Done ,
FDE_RENDERSTATUS_Failed ,
};
+
class IFDE_RenderContext
{
public:
static IFDE_RenderContext* Create();
+ virtual ~IFDE_RenderContext() {}
virtual void Release() = 0;
virtual FX_BOOL StartRender(IFDE_RenderDevice *pRenderDevice,
IFDE_CanvasSet *pCanvasSet,
|