projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ec428
)
Fixed bug in XPS factory declaration
author
Matthew Leibowitz
<mattleibow@live.com>
Sun, 7 May 2017 15:35:46 +0000
(17:35 +0200)
committer
Matthew Leibowitz
<mattleibow@live.com>
Sun, 7 May 2017 15:35:46 +0000
(17:35 +0200)
src/xps/SkXPSDocument.cpp
patch
|
blob
|
history
diff --git
a/src/xps/SkXPSDocument.cpp
b/src/xps/SkXPSDocument.cpp
index
23aa695
..
c93a995
100644
(file)
--- a/
src/xps/SkXPSDocument.cpp
+++ b/
src/xps/SkXPSDocument.cpp
@@
-62,7
+62,7
@@
void SkXPSDocument::onAbort() {}
sk_sp<SkDocument> SkDocument::MakeXPS(SkWStream* stream,
SkScalar dpi) {
-
SkTScopedComPtr<IXpsOMObjectFactory> factory
;
+
IXpsOMObjectFactory* factory = nullptr
;
auto hr = CoCreateInstance(
CLSID_XpsOMObjectFactory,
nullptr,