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

Issue 351563005: Oilpan: Change LoadableTextTrack::m_trackElement a strong Member (Closed)

Created:
6 years, 6 months ago by haraken
Modified:
6 years, 6 months ago
CC:
blink-reviews, nessy, blink-reviews-html_chromium.org, gasubic, fs, eric.carlson_apple.com, dglazkov+blink, vcarbune.chromium
Project:
blink
Visibility:
Public.

Description

Oilpan: Change LoadableTextTrack::m_trackElement a strong Member This CL changes LoadableTextTrack::m_trackElement from a WeakMember to a Member. In non-oilpan, LoadableTextTrack::m_trackElement is implemented as a weak pointer, but it's just because there is no way in non-oilpan to make it a strong pointer without creating a cycle. Ideally LoadableTextTrack::m_trackElement should be implemented as a strong pointer. This is possible in oilpan, and this CL makes the change. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177052

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M Source/core/html/track/LoadableTextTrack.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/html/track/LoadableTextTrack.cpp View 1 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
haraken
philipj@, glenn@: Would you take a look at this? I think LoadableTextTrack::m_trackElement should be a ...
6 years, 6 months ago (2014-06-24 09:22:35 UTC) #1
sof
lgtm - LoadableTextTrack should be reachable from HTMLTrackElement for as long as the latter lives. ...
6 years, 6 months ago (2014-06-25 21:15:47 UTC) #2
haraken
philipj, glenn: Would you take a look at this one-line CL?
6 years, 6 months ago (2014-06-26 00:40:34 UTC) #3
philipj_slow
LGTM. If you like, there's some null-checking on m_trackElement that can now be made conditional ...
6 years, 6 months ago (2014-06-26 08:55:23 UTC) #4
haraken
Thanks for review! > If you like, there's some null-checking on m_trackElement that can now ...
6 years, 6 months ago (2014-06-26 13:02:44 UTC) #5
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-26 13:03:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/351563005/20001
6 years, 6 months ago (2014-06-26 13:04:53 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-27 03:19:00 UTC) #8
Message was sent while issue was closed.
Change committed as 177052

Powered by Google App Engine
This is Rietveld 408576698