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

Issue 138203002: Rename a few Member and Persistent methods to make the transition (Closed)

Created:
6 years, 11 months ago by Mads Ager (chromium)
Modified:
6 years, 11 months ago
CC:
blink-reviews
Visibility:
Public.

Description

Rename a few Member and Persistent methods to make the transition period simpler. We will need to have Members and Persistents instead of RefPtrs. On RefPtrs the methods that correspond to raw and clear are called get and release. Unify on the RefPtr methods to make the transition period code simpler. Fix comparison operators that were unused and did not work because they accessed private members. R=haraken@chromium.org, wibling@chromium.org, zerny@chromium.org, erik.corry@gmail.com BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165110

Patch Set 1 #

Total comments: 7

Patch Set 2 : Remove tons of unneeded friend declarations. #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -45 lines) Patch
M Source/heap/Handle.h View 1 7 chunks +15 lines, -35 lines 0 comments Download
M Source/heap/Heap.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/heap/HeapTest.cpp View 1 4 chunks +19 lines, -4 lines 0 comments Download
M Source/heap/Visitor.h View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Mads Ager (chromium)
6 years, 11 months ago (2014-01-14 13:47:55 UTC) #1
wibling-chromium
lgtm
6 years, 11 months ago (2014-01-14 13:52:37 UTC) #2
haraken
https://codereview.chromium.org/138203002/diff/1/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/138203002/diff/1/Source/heap/Handle.h#newcode196 Source/heap/Handle.h:196: T* release() Just to confirm: The places where we ...
6 years, 11 months ago (2014-01-14 13:57:10 UTC) #3
Mads Ager (chromium)
https://codereview.chromium.org/138203002/diff/1/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/138203002/diff/1/Source/heap/Handle.h#newcode196 Source/heap/Handle.h:196: T* release() On 2014/01/14 13:57:10, haraken wrote: > > ...
6 years, 11 months ago (2014-01-14 14:03:13 UTC) #4
haraken
LGTM. https://codereview.chromium.org/138203002/diff/1/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/138203002/diff/1/Source/heap/Handle.h#newcode196 Source/heap/Handle.h:196: T* release() On 2014/01/14 14:03:13, Mads Ager (chromium) ...
6 years, 11 months ago (2014-01-14 14:23:15 UTC) #5
zerny-google
> If there are cases where we must not replace RefPtr::release() with > Persistent::release() (I ...
6 years, 11 months ago (2014-01-14 18:44:43 UTC) #6
Mads Ager (chromium)
I removed a ton of unneeded friend declarations as well. PTAL.
6 years, 11 months ago (2014-01-15 07:34:14 UTC) #7
haraken
LGTM
6 years, 11 months ago (2014-01-15 07:40:14 UTC) #8
zerny-chromium
lgtm
6 years, 11 months ago (2014-01-15 07:43:15 UTC) #9
Mads Ager (chromium)
6 years, 11 months ago (2014-01-15 08:24:24 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r165110 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698