| Index: src/xps/SkDocument_XPS.cpp
|
| diff --git a/src/xps/SkDocument_XPS.cpp b/src/xps/SkDocument_XPS.cpp
|
| index 0e241d9aaa369974b6a8133b8a166aa61c80be40..33edf789e4355fa56e3d9c1ded88f70f31b3aab0 100644
|
| --- a/src/xps/SkDocument_XPS.cpp
|
| +++ b/src/xps/SkDocument_XPS.cpp
|
| @@ -76,7 +76,7 @@ SkDocument* SkDocument::CreateXPS(const char path[], SkScalar dpi) {
|
| if (!stream->isValid()) {
|
| return nullptr;
|
| }
|
| - return new SkDocument_XPS(stream.detach(), delete_wstream, dpi);
|
| + return new SkDocument_XPS(stream.release(), delete_wstream, dpi);
|
| }
|
|
|
| #endif//defined(SK_BUILD_FOR_WIN32)
|
|
|