Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(133)

Issue 6422057: add protected method for internal_dispose overrides to jam fRefCnt before (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by reed1
Modified:
12 years, 1 month ago
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

add protected method for internal_dispose overrides to jam fRefCnt before calling destructor. move SkTRefArray to actually inherit from SkRefCnt Committed: https://code.google.com/p/skia/source/detail?r=4719

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -40 lines) Patch
M include/core/SkRefCnt.h View 1 2 3 1 chunk +17 lines, -5 lines 1 comment Download
M src/core/SkTRefArray.h View 1 2 3 1 chunk +65 lines, -31 lines 1 comment Download
M tests/RefCntTest.cpp View 1 2 2 chunks +36 lines, -4 lines 0 comments Download

Messages

Total messages: 8
reed1
12 years, 1 month ago (2012-07-22 22:36:21 UTC) #1
reed1
adding culprit in friending GrTexture inside SkRefCnt
12 years, 1 month ago (2012-07-22 22:36:49 UTC) #2
robertphillips
Unfortunately I don't think this will allow us to un-friend GrTexture from SkRefCnt. GrTexture still ...
12 years, 1 month ago (2012-07-23 14:05:17 UTC) #3
bungeman
The ref counting part looks ok, I don't see anything which would cause threading issues. ...
12 years, 1 month ago (2012-07-23 14:10:00 UTC) #4
reed1
tried to address all comments
12 years, 1 month ago (2012-07-23 14:36:19 UTC) #5
reed1
fixed spelling of displose
12 years, 1 month ago (2012-07-23 14:45:39 UTC) #6
robertphillips
LGTM w/ two nits https://codereview.appspot.com/6422057/diff/3002/include/core/SkRefCnt.h File include/core/SkRefCnt.h (right): https://codereview.appspot.com/6422057/diff/3002/include/core/SkRefCnt.h#newcode77 include/core/SkRefCnt.h:77: * be called right before ...
12 years, 1 month ago (2012-07-23 14:47:33 UTC) #7
bungeman
12 years, 1 month ago (2012-07-23 14:56:18 UTC) #8
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b