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

Issue 861413002: Remove staging SkStream::unref(). (Closed)

Created:
5 years, 11 months ago by bungeman-skia
Modified:
5 years, 11 months ago
Reviewers:
scroggo
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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 Committed: https://skia.googlesource.com/skia/+/2dca817edb0d741b7d8930009417bf9bd071808d

Patch Set 1 #

Patch Set 2 : Fix stragglers. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -18 lines) Patch
M include/core/SkStream.h View 1 chunk +0 lines, -8 lines 0 comments Download
M include/utils/win/SkIStream.h View 1 1 chunk +3 lines, -3 lines 2 comments Download
M src/utils/win/SkDWriteFontFileStream.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/utils/win/SkIStream.cpp View 1 1 chunk +6 lines, -6 lines 1 comment Download

Messages

Total messages: 19 (7 generated)
bungeman-skia
Note that this cannot / should not land until after https://codereview.chromium.org/860383006/ has landed and rolled ...
5 years, 11 months ago (2015-01-21 23:53:40 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/861413002/1
5 years, 11 months ago (2015-01-22 04:01:16 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 11 months ago (2015-01-22 04:01:16 UTC) #5
commit-bot: I haz the power
Presubmit check for 861413002-1 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 11 months ago (2015-01-22 04:01:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/861413002/1
5 years, 11 months ago (2015-01-22 04:03:16 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/2011)
5 years, 11 months ago (2015-01-22 04:08:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/861413002/20001
5 years, 11 months ago (2015-01-22 04:40:46 UTC) #13
commit-bot: I haz the power
This issue passed the CQ. To commit it, remove "COMMIT=false" from the description and try ...
5 years, 11 months ago (2015-01-22 04:48:47 UTC) #14
scroggo
Thanks for fixing these! I have some inline comments, which apply to problems from before ...
5 years, 11 months ago (2015-01-22 13:55:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/861413002/20001
5 years, 11 months ago (2015-01-22 14:08:27 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/2dca817edb0d741b7d8930009417bf9bd071808d
5 years, 11 months ago (2015-01-22 14:08:35 UTC) #18
bungeman-skia
5 years, 11 months ago (2015-01-22 14:08:52 UTC) #19
Message was sent while issue was closed.
On 2015/01/22 13:55:36, scroggo wrote:
> Thanks for fixing these!
> 
> I have some inline comments, which apply to problems from before this CL.
> 
> lgtm with or without fixing those.
> 
>
https://codereview.chromium.org/861413002/diff/20001/include/utils/win/SkIStr...
> File include/utils/win/SkIStream.h (right):
> 
>
https://codereview.chromium.org/861413002/diff/20001/include/utils/win/SkIStr...
> include/utils/win/SkIStream.h:78: * A minimal read-only IStream implementation
> which wraps an SkIStream.
> nit: wraps an SkStream
> 
>
https://codereview.chromium.org/861413002/diff/20001/include/utils/win/SkIStr...
> include/utils/win/SkIStream.h:83: bool fDeleteOnRelease;
> Could be const?
> 
>
https://codereview.chromium.org/861413002/diff/20001/src/utils/win/SkIStream.cpp
> File src/utils/win/SkIStream.cpp (right):
> 
>
https://codereview.chromium.org/861413002/diff/20001/src/utils/win/SkIStream....
> src/utils/win/SkIStream.cpp:116: if (this->fSkStream && fDeleteOnRelease) {
> It appears fSkStream can never be NULL, so this can just be
> 
> if (fDeleteOnRelease) {

Good points, will fix these today.

Powered by Google App Engine
This is Rietveld 408576698