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

Issue 835363003: Oilpan: add missing leftmost trace()s for GC mixins. (Closed)

Created:
5 years, 11 months ago by sof
Modified:
5 years, 11 months ago
CC:
dcheng, blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, kinuko+fileapi, mlamouri+watch-blink_chromium.org, nhiroki, philipj_slow, nessy, tommyw+watchlist_chromium.org, tzik, vcarbune.chromium
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: add missing leftmost trace()s for GC mixins. For classes that are non-abstract (in a Blink sense) and inherit from GarbageCollectedMixin, add a missing local trace() override. This so as to insist on there being a trace() in the leftmost vtbl. R= BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187945

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -1 line) Patch
M Source/core/html/track/AudioTrack.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/track/AudioTrack.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/html/track/VideoTrack.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/track/VideoTrack.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/streams/ReadableStreamTest.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/beacon/NavigatorBeacon.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/beacon/NavigatorBeacon.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/credentialmanager/CredentialManagerClient.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/credentialmanager/CredentialManagerClient.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/filesystem/FileWriterSync.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/filesystem/FileWriterSync.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/mediastream/UserMediaController.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/mediastream/UserMediaController.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/ContextFeaturesClientImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/DatabaseClientImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/DatabaseClientImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.h View 1 chunk +2 lines, -0 lines 3 comments Download
M Source/web/WebRemoteFrameImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/WebSocketChannelClientProxy.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
sof
Please take a look.
5 years, 11 months ago (2015-01-06 22:31:02 UTC) #2
dcheng
https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h File Source/web/WebRemoteFrameImpl.h (right): https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h#newcode31 Source/web/WebRemoteFrameImpl.h:31: WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PlaceholderFrameOwner); Out of curiosity, why do we need a ...
5 years, 11 months ago (2015-01-06 23:06:44 UTC) #4
haraken
LGTM https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h File Source/web/WebRemoteFrameImpl.h (right): https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h#newcode31 Source/web/WebRemoteFrameImpl.h:31: WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PlaceholderFrameOwner); On 2015/01/06 23:06:44, dcheng wrote: > Out ...
5 years, 11 months ago (2015-01-07 01:44:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/835363003/1
5 years, 11 months ago (2015-01-07 01:45:30 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=187945
5 years, 11 months ago (2015-01-07 04:53:51 UTC) #9
sof
https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h File Source/web/WebRemoteFrameImpl.h (right): https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h#newcode31 Source/web/WebRemoteFrameImpl.h:31: WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PlaceholderFrameOwner); On 2015/01/07 01:44:41, haraken wrote: > On 2015/01/06 ...
5 years, 11 months ago (2015-01-07 06:18:01 UTC) #10
haraken
On 2015/01/07 06:18:01, sof wrote: > https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h > File Source/web/WebRemoteFrameImpl.h (right): > > https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h#newcode31 > ...
5 years, 11 months ago (2015-01-07 07:22:57 UTC) #11
sof
5 years, 11 months ago (2015-01-07 07:32:47 UTC) #12
Message was sent while issue was closed.
On 2015/01/07 07:22:57, haraken wrote:
> On 2015/01/07 06:18:01, sof wrote:
> >
>
https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImpl.h
> > File Source/web/WebRemoteFrameImpl.h (right):
> > 
> >
>
https://codereview.chromium.org/835363003/diff/1/Source/web/WebRemoteFrameImp...
> > Source/web/WebRemoteFrameImpl.h:31:
> > WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PlaceholderFrameOwner);
> > On 2015/01/07 01:44:41, haraken wrote:
> > > On 2015/01/06 23:06:44, dcheng wrote:
> > > > Out of curiosity, why do we need a mixin at all here? FrameOwner has no
> data
> > > > members at all.
> > > 
> > > Hmm, you're right. I don't see any reason FrameOwner needs to be a mixin
> > > either... Sigbjorn, can we de-mixin FrameOwner in a follow-up CL?
> > 
> > Yes, well caught -- will remove that.
> > 
> > It depends on style to some extent, but something like
> > 
> > class A : public GarbageCollectedMixin { };
> > class B : public A { public: Member<A> m_a; };
> > class C : public GarbageCollected<C>, public B {
> > USING_GARBAGE_COLLECTED_MIXIN(C); ... };
> > 
> > would benefit from using GCMixin as a base for A, irrespective of A having
GC
> > references or not.
> 
> ah, we have Member<FrameOwner>. Then I'd prefer keeping FrameOwner as a
GCMixin
> too.

Thanks, now I remember why it was added :) Will add a comment next to FrameOwner
to avoid future head scratching.

Powered by Google App Engine
This is Rietveld 408576698