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

Issue 549153002: MediaStream tests need to call WebHeap::collectGarbage (Closed)

Created:
6 years, 3 months ago by haraken
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

MediaStream tests need to call WebHeap::collectGarbage Now that Blink-side objects about MediaStream are moved to oilpan's heap, we need to call WebHeap::collectGarbage in MediaStream tests to test that a particular object is gone. This CL adds necessary WebHeap::collectGarbage calls to content_unittests about MediaStreams. Committed: https://crrev.com/106aa0ab544b4d0779bc975da79d4bf9b5d70552 Cr-Commit-Position: refs/heads/master@{#294099}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -1 line) Patch
M content/renderer/media/media_stream_video_capture_source_unittest.cc View 1 2 6 chunks +10 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_video_source_unittest.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler_unittest.cc View 1 2 4 chunks +13 lines, -0 lines 0 comments Download
M content/renderer/media/user_media_client_impl_unittest.cc View 1 2 6 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc_local_audio_track_unittest.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
haraken
PTAL https://codereview.chromium.org/549153002/diff/20001/content/renderer/media/webrtc_local_audio_track_unittest.cc File content/renderer/media/webrtc_local_audio_track_unittest.cc (right): https://codereview.chromium.org/549153002/diff/20001/content/renderer/media/webrtc_local_audio_track_unittest.cc#newcode195 content/renderer/media/webrtc_local_audio_track_unittest.cc:195: blink_source_.reset(); The reason we need to reset blink_source_ ...
6 years, 3 months ago (2014-09-09 04:51:16 UTC) #2
haraken
tommi@: Would you take a look at this?
6 years, 3 months ago (2014-09-09 04:51:39 UTC) #4
haraken
dalecurtis, scherkus: Would you take a look at this?
6 years, 3 months ago (2014-09-10 01:49:02 UTC) #6
tommi (sloooow) - chröme
lgtm. sorry for the delay.
6 years, 3 months ago (2014-09-10 01:52:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/549153002/40001
6 years, 3 months ago (2014-09-10 02:10:11 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as b248ac6ba0fad2eaeca43e26c7fd032b690e858e
6 years, 3 months ago (2014-09-10 04:12:34 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 04:15:18 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/106aa0ab544b4d0779bc975da79d4bf9b5d70552
Cr-Commit-Position: refs/heads/master@{#294099}

Powered by Google App Engine
This is Rietveld 408576698