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

Unified Diff: src/utils/win/SkDWriteFontFileStream.cpp

Issue 861413002: Remove staging SkStream::unref(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix stragglers. Created 5 years, 11 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
Index: src/utils/win/SkDWriteFontFileStream.cpp
diff --git a/src/utils/win/SkDWriteFontFileStream.cpp b/src/utils/win/SkDWriteFontFileStream.cpp
index 5569db5ac177fb02b8d3c7c32c279eb8ed9d048e..809ae7bd9a2f2eb669a791f117a177e7753a8a9d 100644
--- a/src/utils/win/SkDWriteFontFileStream.cpp
+++ b/src/utils/win/SkDWriteFontFileStream.cpp
@@ -103,7 +103,7 @@ bool SkDWriteFontFileStream::move(long offset) {
}
SkDWriteFontFileStream* SkDWriteFontFileStream::fork() const {
- SkAutoTUnref<SkDWriteFontFileStream> that(this->duplicate());
+ SkAutoTDelete<SkDWriteFontFileStream> that(this->duplicate());
that->seek(fPos);
return that.detach();
}

Powered by Google App Engine
This is Rietveld 408576698