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

Issue 1744133002: Reduce ActiveDOMObjects from modules/mediastream/ (Closed)

Created:
4 years, 9 months ago by haraken
Modified:
4 years, 9 months ago
CC:
chromium-reviews, blink-reviews, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce ActiveDOMObjects from modules/mediastream/ Per the plan described in https://groups.google.com/a/chromium.org/d/topic/blink-dev/UwRGJgLBElo/discussion, this CL replaces ActiveDOMObjects in modules/mediastream/ with ContextLifecycleObservers. BUG=589507 Committed: https://crrev.com/bd162ec5dcf4377d94bc08b871a64945a2793612 Cr-Commit-Position: refs/heads/master@{#378336}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -82 lines) Patch
M third_party/WebKit/Source/modules/mediacapturefromelement/CanvasCaptureMediaStreamTrack.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.h View 1 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp View 3 chunks +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.h View 4 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp View 5 chunks +5 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCDTMFSender.h View 4 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCDTMFSender.cpp View 4 chunks +6 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h View 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp View 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCStatsRequestImpl.h View 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCStatsRequestImpl.cpp View 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.h View 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.cpp View 3 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
haraken
PTAL
4 years, 9 months ago (2016-02-29 07:56:51 UTC) #2
haraken
(cc Sigbjorn for sanity checking)
4 years, 9 months ago (2016-02-29 11:20:35 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744133002/20001
4 years, 9 months ago (2016-02-29 11:21:01 UTC) #6
tommi (sloooow) - chröme
Guido - can you take a look?
4 years, 9 months ago (2016-02-29 13:13:27 UTC) #8
Guido Urdaneta
lgtm
4 years, 9 months ago (2016-02-29 13:16:39 UTC) #9
tommi (sloooow) - chröme
Thanks Guido - rs lgtm.
4 years, 9 months ago (2016-02-29 13:19:52 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-29 14:20:29 UTC) #12
sof
looks good. The contextDestroyed() overrides calling clear() -- an alternative would be not to define ...
4 years, 9 months ago (2016-02-29 19:06:38 UTC) #13
haraken
On 2016/02/29 19:06:38, sof wrote: > looks good. > > The contextDestroyed() overrides calling clear() ...
4 years, 9 months ago (2016-03-01 00:00:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744133002/20001
4 years, 9 months ago (2016-03-01 00:00:44 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-01 00:12:37 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/bd162ec5dcf4377d94bc08b871a64945a2793612 Cr-Commit-Position: refs/heads/master@{#378336}
4 years, 9 months ago (2016-03-01 00:14:08 UTC) #19
sof
On 2016/03/01 00:00:00, haraken wrote: > On 2016/02/29 19:06:38, sof wrote: > > looks good. ...
4 years, 9 months ago (2016-03-01 06:18:46 UTC) #20
haraken
4 years, 9 months ago (2016-03-02 16:03:14 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1758783002/ by haraken@chromium.org.

The reason for reverting is: I noticed that we're not ready to remove the
m_stopped variable (because LifecycleObserver does not yet have an ability to
clear LifecycleObserver::m_context when the context is destroyed). We need to
fix the LifecycleObserver before landing this fix.
.

Powered by Google App Engine
This is Rietveld 408576698