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

Issue 638003003: Remove ~GrIORef since last remaining virtual and now all inline (Closed)

Created:
6 years, 2 months ago by bsalomon
Modified:
6 years, 2 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Remove ~GrIORef since last remaining virtual and now all inline TBR=reed@google.com NOTRY=true Committed: https://skia.googlesource.com/skia/+/81e64484ff801ad2c346722e41a3f4216a15b6c8

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove virtual ~ #

Patch Set 3 : save the cpp file this time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -11 lines) Patch
M include/gpu/GrGpuResource.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrGpuResource.cpp View 1 2 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/638003003/1
6 years, 2 months ago (2014-10-08 17:51:17 UTC) #2
reed1
lgtm too bad it has to be public
6 years, 2 months ago (2014-10-08 17:55:41 UTC) #3
mtklein
https://codereview.chromium.org/638003003/diff/1/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/638003003/diff/1/include/gpu/GrGpuResource.h#newcode45 include/gpu/GrGpuResource.h:45: virtual ~GrIORef() { Drop this virtual? Seems like you ...
6 years, 2 months ago (2014-10-08 17:57:14 UTC) #5
bsalomon
https://codereview.chromium.org/638003003/diff/1/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/638003003/diff/1/include/gpu/GrGpuResource.h#newcode45 include/gpu/GrGpuResource.h:45: virtual ~GrIORef() { On 2014/10/08 17:57:14, mtklein wrote: > ...
6 years, 2 months ago (2014-10-08 18:01:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/638003003/40001
6 years, 2 months ago (2014-10-08 18:09:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/638003003/40001
6 years, 2 months ago (2014-10-08 18:42:02 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 81e64484ff801ad2c346722e41a3f4216a15b6c8
6 years, 2 months ago (2014-10-08 18:42:15 UTC) #13
mtklein
On 2014/10/08 18:42:15, I haz the power (commit-bot) wrote: > Committed patchset #3 (id:40001) as ...
6 years, 2 months ago (2014-10-08 19:01:44 UTC) #14
bsalomon
6 years, 2 months ago (2014-10-08 19:05:52 UTC) #15
Message was sent while issue was closed.
On 2014/10/08 19:01:44, mtklein wrote:
> On 2014/10/08 18:42:15, I haz the power (commit-bot) wrote:
> > Committed patchset #3 (id:40001) as 81e64484ff801ad2c346722e41a3f4216a15b6c8
> 
> Oh boy, bot meltdown.  Maybe i gave some bad advice.  How do you destroy your
> GrIORefs?  Perhaps the destructor really should be calling the destructor of
> DERIVED?

Yeah just realized that myself... they are destroyed as GrIORefs (gulp). That'll
probably change in the future, but for now calling ~DERIVED seems right.

Powered by Google App Engine
This is Rietveld 408576698