diff options
author | 2017-02-06 09:51:42 -0500 | |
---|---|---|
committer | 2017-02-06 19:00:28 +0000 | |
commit | 5e221e7ca26130393a0527bb9b5155d6685b74ba (patch) | |
tree | cbb8e6de7ac74aed54d8292b2d9448329aaa2bdf /src/xps/SkXPSDocument.h | |
parent | 604971e39a20392fd4c74a56bcdc187311cf86dc (diff) |
SkXPS: new document API.
Now requires a IXpsOMObjectFactory pointer. This will allow sandboxing
to be used in Chromium. (Chrome will create a IXpsOMObjectFactory, then
go into sandbox mode, then call SkDocumenent::MakeXPS().)
Change-Id: Ic4b48d4b148c44e188d12a9481fb74735546528a
Reviewed-on: https://skia-review.googlesource.com/8052
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/xps/SkXPSDocument.h')
-rw-r--r-- | src/xps/SkXPSDocument.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xps/SkXPSDocument.h b/src/xps/SkXPSDocument.h index fbaf57b36f..726af8f58f 100644 --- a/src/xps/SkXPSDocument.h +++ b/src/xps/SkXPSDocument.h @@ -20,8 +20,7 @@ class SkXPSDocument final : public SkDocument { public: - SkXPSDocument(SkWStream*, void (*doneProc)(SkWStream*, bool abort), - SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>); + SkXPSDocument(SkWStream*, SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>); virtual ~SkXPSDocument(); protected: |