diff options
Diffstat (limited to 'src/xps/SkXPSDevice.h')
-rw-r--r-- | src/xps/SkXPSDevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xps/SkXPSDevice.h b/src/xps/SkXPSDevice.h index db8436d5e8..0ad9939509 100644 --- a/src/xps/SkXPSDevice.h +++ b/src/xps/SkXPSDevice.h @@ -40,7 +40,7 @@ public: SK_API SkXPSDevice(SkISize); SK_API virtual ~SkXPSDevice(); - bool beginPortfolio(SkWStream* outputStream); + bool beginPortfolio(SkWStream* outputStream, IXpsOMObjectFactory*); /** @param unitsPerMeter converts geometry units into physical units. @param pixelsPerMeter resolution to use when geometry must be rasterized. @@ -161,9 +161,8 @@ private: }; friend HRESULT subset_typeface(TypefaceUse* current); - SkXPSDevice(SkISize, IXpsOMObjectFactory*); + bool createCanvasForLayer(); - SkAutoCoInitialize fAutoCo; SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory; SkTScopedComPtr<IStream> fOutputStream; SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter; |