diff options
author | bungeman <bungeman@google.com> | 2015-01-22 06:08:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-22 06:08:31 -0800 |
commit | 2dca817edb0d741b7d8930009417bf9bd071808d (patch) | |
tree | 1d4f4ae993a84972bb984621593e41b54f969c70 /include/utils | |
parent | faff2c45985a5e0fdb72bdf416d97babecd44833 (diff) |
Remove staging SkStream::unref().
SkStream::unref() was added to ease transitioning off of SkStream
deriving from SkRefCnt. It is no longer needed, remove it.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/861413002
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/win/SkIStream.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/utils/win/SkIStream.h b/include/utils/win/SkIStream.h index deb3f3b004..e2c2b966fb 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; 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); |