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

Issue 2479703002: Another fix for MediaSessionAndroid DCHECK on destruction (Closed)

Created:
4 years, 1 month ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 1 month ago
Reviewers:
boliu
CC:
chromium-reviews, jam, agrieve+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Another fix for MediaSessionAndroid DCHECK on destruction This CL removes the unnecessary DCHECK for the Java object in MediaSessionAndroid destruction. This should fix an flaky test caused by hitting this DCHECK() in some situations. BUG=661444 Committed: https://crrev.com/a987baac512327c28cf37237f53020a23aa53cc4 Cr-Commit-Position: refs/heads/master@{#429757}

Patch Set 1 #

Patch Set 2 : fixed build #

Total comments: 2

Patch Set 3 : just remove the DCHECK #

Total comments: 2

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M content/browser/media/session/media_session_android.cc View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Zhiqiang Zhang (Slow)
PTAL Sorry the last fix didn't fully solves the issue. The remaining flakes should be ...
4 years, 1 month ago (2016-11-03 23:32:22 UTC) #2
boliu
> The issue is that the Java MediaSessionImpl may be garbage-collected > after Java WebContentsImpl ...
4 years, 1 month ago (2016-11-03 23:43:14 UTC) #5
Zhiqiang Zhang (Slow)
On 2016/11/03 23:43:14, boliu wrote: > > The issue is that the Java MediaSessionImpl may ...
4 years, 1 month ago (2016-11-04 00:22:06 UTC) #6
boliu
lgtm https://codereview.chromium.org/2479703002/diff/40001/content/browser/media/session/media_session_android.cc File content/browser/media/session/media_session_android.cc (right): https://codereview.chromium.org/2479703002/diff/40001/content/browser/media/session/media_session_android.cc#newcode66 content/browser/media/session/media_session_android.cc:66: j_media_session_.reset(); you can drop this as well then
4 years, 1 month ago (2016-11-04 00:42:00 UTC) #7
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2479703002/diff/40001/content/browser/media/session/media_session_android.cc File content/browser/media/session/media_session_android.cc (right): https://codereview.chromium.org/2479703002/diff/40001/content/browser/media/session/media_session_android.cc#newcode66 content/browser/media/session/media_session_android.cc:66: j_media_session_.reset(); On 2016/11/04 00:42:00, boliu wrote: > you can ...
4 years, 1 month ago (2016-11-04 00:47:56 UTC) #9
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/2479703002/60001
4 years, 1 month ago (2016-11-04 00:49:33 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-04 01:39:11 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 01:42:29 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a987baac512327c28cf37237f53020a23aa53cc4
Cr-Commit-Position: refs/heads/master@{#429757}

Powered by Google App Engine
This is Rietveld 408576698