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

Issue 2728203002: Remove WRAPPER_VISITOR_SPECIAL_CLASSES (Closed)

Created:
3 years, 9 months ago by adithyas
Modified:
3 years, 9 months ago
CC:
Mads Ager (chromium), blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, haraken, kinuko+watch, kouhei+heap_chromium.org, oilpan-reviews, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WRAPPER_VISITOR_SPECIAL_CLASSES This patch removes the need of WRAPPER_VISITOR_SPECIAL_CLASSES. All of these classes are classes in core/ and WrapperVisitor and ScriptWrappableVisitor shouldn't really have any knowledge about them. It takes advantage of the fact that the various overloads of dispatchTraceWrappers(SpecialClass* t) all have the same implementation (t->traceWrappers(this)), and just adds that implementation directly into the special classes BUG=682322 Review-Url: https://codereview.chromium.org/2728203002 Cr-Commit-Position: refs/heads/master@{#455298} Committed: https://chromium.googlesource.com/chromium/src/+/0235e672998b36b2bf5beb45ce1e24ae3ac729af

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add macro and update documentation #

Total comments: 8

Patch Set 3 : Change CanTraceWrappers #

Messages

Total messages: 24 (10 generated)
adithyas
https://codereview.chromium.org/2728203002/diff/1/third_party/WebKit/Source/platform/heap/GarbageCollected.h File third_party/WebKit/Source/platform/heap/GarbageCollected.h (right): https://codereview.chromium.org/2728203002/diff/1/third_party/WebKit/Source/platform/heap/GarbageCollected.h#newcode250 third_party/WebKit/Source/platform/heap/GarbageCollected.h:250: class CanTraceWrappers { I don't know if this is ...
3 years, 9 months ago (2017-03-03 21:40:08 UTC) #6
haraken
+hlopko +mlippautz Do you think it's now fine to remove WRAPPER_VISITOR_SPECIAL_CLASSES?
3 years, 9 months ago (2017-03-04 01:47:49 UTC) #8
Michael Lippautz
On 2017/03/04 01:47:49, haraken wrote: > +hlopko +mlippautz Do you think it's now fine to ...
3 years, 9 months ago (2017-03-04 07:08:13 UTC) #9
adithyas
On 2017/03/04 at 07:08:13, mlippautz wrote: > On 2017/03/04 01:47:49, haraken wrote: > > +hlopko ...
3 years, 9 months ago (2017-03-06 23:27:30 UTC) #10
Michael Lippautz
On 2017/03/06 23:27:30, adithyas wrote: > On 2017/03/04 at 07:08:13, mlippautz wrote: > > On ...
3 years, 9 months ago (2017-03-07 07:59:51 UTC) #11
Michael Lippautz
lgtm from my side https://codereview.chromium.org/2728203002/diff/1/third_party/WebKit/Source/platform/heap/GarbageCollected.h File third_party/WebKit/Source/platform/heap/GarbageCollected.h (right): https://codereview.chromium.org/2728203002/diff/1/third_party/WebKit/Source/platform/heap/GarbageCollected.h#newcode250 third_party/WebKit/Source/platform/heap/GarbageCollected.h:250: class CanTraceWrappers { On 2017/03/03 ...
3 years, 9 months ago (2017-03-07 08:00:01 UTC) #12
haraken
LGTM https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/core/dom/NodeListsNodeData.h File third_party/WebKit/Source/core/dom/NodeListsNodeData.h (right): https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/core/dom/NodeListsNodeData.h#newcode172 third_party/WebKit/Source/core/dom/NodeListsNodeData.h:172: DECLARE_TRACE_WRAPPERS_WITHOUT_BASE(); Just to confirm: What happens if a ...
3 years, 9 months ago (2017-03-07 08:45:41 UTC) #13
Marcel Hlopko
lgtm
3 years, 9 months ago (2017-03-07 09:08:26 UTC) #14
adithyas
https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/core/dom/NodeListsNodeData.h File third_party/WebKit/Source/core/dom/NodeListsNodeData.h (right): https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/core/dom/NodeListsNodeData.h#newcode172 third_party/WebKit/Source/core/dom/NodeListsNodeData.h:172: DECLARE_TRACE_WRAPPERS_WITHOUT_BASE(); On 2017/03/07 at 08:45:40, haraken wrote: > Just ...
3 years, 9 months ago (2017-03-07 16:53:57 UTC) #15
jbroman
lgtm w/ nits https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/platform/heap/GarbageCollected.h File third_party/WebKit/Source/platform/heap/GarbageCollected.h (right): https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/platform/heap/GarbageCollected.h#newcode250 third_party/WebKit/Source/platform/heap/GarbageCollected.h:250: class CanTraceWrappers { nit: Slightly more ...
3 years, 9 months ago (2017-03-07 17:46:12 UTC) #16
jbroman
https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/platform/heap/GarbageCollected.h File third_party/WebKit/Source/platform/heap/GarbageCollected.h (right): https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/platform/heap/GarbageCollected.h#newcode250 third_party/WebKit/Source/platform/heap/GarbageCollected.h:250: class CanTraceWrappers { On 2017/03/07 at 17:46:09, jbroman wrote: ...
3 years, 9 months ago (2017-03-07 17:47:38 UTC) #17
adithyas
https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/platform/heap/GarbageCollected.h File third_party/WebKit/Source/platform/heap/GarbageCollected.h (right): https://codereview.chromium.org/2728203002/diff/20001/third_party/WebKit/Source/platform/heap/GarbageCollected.h#newcode250 third_party/WebKit/Source/platform/heap/GarbageCollected.h:250: class CanTraceWrappers { On 2017/03/07 at 17:47:38, jbroman wrote: ...
3 years, 9 months ago (2017-03-07 18:40:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2728203002/40001
3 years, 9 months ago (2017-03-07 18:41:53 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 23:56:11 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/0235e672998b36b2bf5beb45ce1e...

Powered by Google App Engine
This is Rietveld 408576698