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

Unified Diff: include/utils/win/SkIStream.h

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: include/utils/win/SkIStream.h
diff --git a/include/utils/win/SkIStream.h b/include/utils/win/SkIStream.h
index deb3f3b0047ee63671673cf2556ba0ae2ed13479..e2c2b966fbd7450968fc75d5f77e48a301112402 100644
--- a/include/utils/win/SkIStream.h
+++ b/include/utils/win/SkIStream.h
@@ -80,15 +80,15 @@ public:
class SkIStream : public SkBaseIStream {
private:
SkStream *fSkStream;
- bool fUnrefOnRelease;
+ bool fDeleteOnRelease;
scroggo 2015/01/22 13:55:36 Could be const?
ULARGE_INTEGER fLocation;
- SkIStream(SkStream* stream, bool unrefOnRelease);
+ SkIStream(SkStream* stream, bool fDeleteOnRelease);
virtual ~SkIStream();
public:
HRESULT static CreateFromSkStream(SkStream* stream
- , bool unrefOnRelease
+ , bool fDeleteOnRelease
, IStream ** ppStream);
virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);

Powered by Google App Engine
This is Rietveld 408576698