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

Unified Diff: src/utils/win/SkDWriteFontFileStream.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/utils/SkFrontBufferedStream.cpp ('k') | src/views/ios/SkOSWindow_iOS.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/win/SkDWriteFontFileStream.cpp
diff --git a/src/utils/win/SkDWriteFontFileStream.cpp b/src/utils/win/SkDWriteFontFileStream.cpp
index d4bf8a2023c47c07dd7ee5cb06ad5adcce69c4a7..460f90e6c4aff8e6928eaebef5504d5e58a4490b 100644
--- a/src/utils/win/SkDWriteFontFileStream.cpp
+++ b/src/utils/win/SkDWriteFontFileStream.cpp
@@ -107,7 +107,7 @@ bool SkDWriteFontFileStream::move(long offset) {
SkDWriteFontFileStream* SkDWriteFontFileStream::fork() const {
SkAutoTDelete<SkDWriteFontFileStream> that(this->duplicate());
that->seek(fPos);
- return that.detach();
+ return that.release();
}
size_t SkDWriteFontFileStream::getLength() const {
@@ -212,7 +212,7 @@ HRESULT STDMETHODCALLTYPE SkDWriteFontFileStreamWrapper::ReadFileFragment(
}
*fragmentStart = streamData.get();
- *fragmentContext = streamData.detach();
+ *fragmentContext = streamData.release();
}
return S_OK;
}
« no previous file with comments | « src/utils/SkFrontBufferedStream.cpp ('k') | src/views/ios/SkOSWindow_iOS.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698