From d2afac1e9200478997e308eecc582a073185d7ab Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Fri, 12 May 2017 21:22:08 -0400 Subject: Convert CPSOutput to an IFX_WriteStream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Cl updates CPSOutput to inherit from IFX_WriteStream and converts the CFX_PSRenderer to accept an IFX_WriteStream instead of a CPSOutput. Change-Id: Ibde5c7da1c2f6df0a10cb6e9a470e18fbab167b8 Reviewed-on: https://pdfium-review.googlesource.com/5431 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- core/fxge/win32/win32_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge/win32/win32_int.h') diff --git a/core/fxge/win32/win32_int.h b/core/fxge/win32/win32_int.h index 2f69c0ea57..d92d3b333c 100644 --- a/core/fxge/win32/win32_int.h +++ b/core/fxge/win32/win32_int.h @@ -11,6 +11,7 @@ #include +#include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxge/cfx_pathdata.h" #include "core/fxge/ifx_renderdevicedriver.h" #include "core/fxge/win32/cfx_psrenderer.h" @@ -329,7 +330,6 @@ class CPSPrinterDriver : public IFX_RenderDeviceDriver { int m_nBitsPerPixel; int m_HorzSize; int m_VertSize; - std::unique_ptr m_pPSOutput; CFX_PSRenderer m_PSRenderer; }; -- cgit v1.2.3