Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: src/xps/SkDocument_XPS.cpp

Issue 1809733002: detach -> release (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: (C) Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/views/win/SkOSWindow_win.cpp ('k') | src/xps/SkXPSDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « src/views/win/SkOSWindow_win.cpp ('k') | src/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698