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

Issue 2886683003: media: Shutdown AudioManager in TestMojoMediaClient (Closed)

Created:
3 years, 7 months ago by xhwang
Modified:
3 years, 7 months ago
Reviewers:
alokp
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, alokp+watch_chromium.org, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Shutdown AudioManager in TestMojoMediaClient By AudioManager API, Shutdown() must be called before destruction. This isn't caught by tests because media_service_unittests is only run on release builds. Review-Url: https://codereview.chromium.org/2886683003 Cr-Commit-Position: refs/heads/master@{#472225} Committed: https://chromium.googlesource.com/chromium/src/+/6e0f47b9cc33450f93d02d238cd4e60dffa89421

Patch Set 1 #

Patch Set 2 : more fix #

Total comments: 2

Patch Set 3 : drop flushing message loop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M media/mojo/services/test_mojo_media_client.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
xhwang
PTAL
3 years, 7 months ago (2017-05-16 06:39:37 UTC) #4
alokp
lgtm https://codereview.chromium.org/2886683003/diff/20001/media/mojo/services/test_mojo_media_client.cc File media/mojo/services/test_mojo_media_client.cc (right): https://codereview.chromium.org/2886683003/diff/20001/media/mojo/services/test_mojo_media_client.cc#newcode33 media/mojo/services/test_mojo_media_client.cc:33: // AudioManager destructor requires MessageLoop. You do not ...
3 years, 7 months ago (2017-05-16 16:52:27 UTC) #9
xhwang
https://codereview.chromium.org/2886683003/diff/20001/media/mojo/services/test_mojo_media_client.cc File media/mojo/services/test_mojo_media_client.cc (right): https://codereview.chromium.org/2886683003/diff/20001/media/mojo/services/test_mojo_media_client.cc#newcode33 media/mojo/services/test_mojo_media_client.cc:33: // AudioManager destructor requires MessageLoop. On 2017/05/16 16:52:26, alokp ...
3 years, 7 months ago (2017-05-16 16:56:09 UTC) #11
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/2886683003/40001
3 years, 7 months ago (2017-05-16 19:04:05 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/6e0f47b9cc33450f93d02d238cd4e60dffa89421
3 years, 7 months ago (2017-05-16 22:01:32 UTC) #20
kolos1
3 years, 7 months ago (2017-05-17 09:58:27 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2890733004/ by kolos@chromium.org.

The reason for reverting is: Layout tests failure ;
mojo/module-loading(-manual-deps-loading).html

BUG=723461.

Powered by Google App Engine
This is Rietveld 408576698