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

Issue 1769093002: add virtual ~Effect() (Closed)

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

Description

add virtual ~Effect() Today we make an sk_sp<Effect> from an sk_sp<EffectImpl>. But when the sk_sp<Effect> dies, it calls ~Effect(), not ~EffectImpl(). Making ~Effect() virtual fixes this. This should make our Google3 tests sized-delete clean, unblocking those folks. Committed: https://skia.googlesource.com/skia/+/71aca549914c868d50cd51ddff3fb7a5bfe250cd

Patch Set 1 #

Total comments: 2

Patch Set 2 : undo comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M tests/RefCntTest.cpp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
mtklein_C
4 years, 9 months ago (2016-03-07 17:47:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769093002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769093002/1
4 years, 9 months ago (2016-03-07 17:47:36 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 9 months ago (2016-03-07 17:47:37 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/7366)
4 years, 9 months ago (2016-03-07 17:49:06 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769093002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769093002/1
4 years, 9 months ago (2016-03-07 18:15:11 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-07 19:16:59 UTC) #13
bungeman-skia
https://codereview.chromium.org/1769093002/diff/1/include/core/SkRefCnt.h File include/core/SkRefCnt.h (right): https://codereview.chromium.org/1769093002/diff/1/include/core/SkRefCnt.h#newcode250 include/core/SkRefCnt.h:250: Putting this here is a bit over constrained. sk_sp ...
4 years, 9 months ago (2016-03-07 19:29:45 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769093002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769093002/20001
4 years, 9 months ago (2016-03-07 19:40:46 UTC) #17
mtklein_C
https://codereview.chromium.org/1769093002/diff/1/include/core/SkRefCnt.h File include/core/SkRefCnt.h (right): https://codereview.chromium.org/1769093002/diff/1/include/core/SkRefCnt.h#newcode250 include/core/SkRefCnt.h:250: On 2016/03/07 at 19:29:45, bungeman1 wrote: > Putting this ...
4 years, 9 months ago (2016-03-07 19:40:46 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-07 20:03:57 UTC) #20
bungeman-skia
lgtm
4 years, 9 months ago (2016-03-07 20:27:20 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769093002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769093002/20001
4 years, 9 months ago (2016-03-07 20:27:23 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 20:28:20 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/71aca549914c868d50cd51ddff3fb7a5bfe250cd

Powered by Google App Engine
This is Rietveld 408576698