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

Issue 2357773003: Fix a timing bug in multibuffer. (Closed)

Created:
4 years, 3 months ago by hubbe
Modified:
4 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, DaleCurtis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a timing bug in multibuffer. When "cancel on defer is on", the multibuffer reader can sometimes get delete before it is allowed to deliver a pending read callback. This basically hangs the multibuffer data source as it waits for the read callback forever. BUG=648395, 647867, 646434 Committed: https://crrev.com/3b2a5629da155db59d3449a6d640c107e91aa14d Cr-Commit-Position: refs/heads/master@{#419995}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -7 lines) Patch
M media/blink/multibuffer_data_source.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/blink/multibuffer_data_source.cc View 1 3 chunks +9 lines, -5 lines 0 comments Download
M media/blink/multibuffer_data_source_unittest.cc View 3 chunks +35 lines, -1 line 0 comments Download

Messages

Total messages: 20 (14 generated)
hubbe
4 years, 3 months ago (2016-09-21 00:21:47 UTC) #3
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/2357773003/diff/1/media/blink/multibuffer_data_source.cc File media/blink/multibuffer_data_source.cc (right): https://codereview.chromium.org/2357773003/diff/1/media/blink/multibuffer_data_source.cc#newcode534 media/blink/multibuffer_data_source.cc:534: void MultibufferDataSource::UpdateLoadingState(bool force_loading) { Nit: Add _Locked suffix? ...
4 years, 3 months ago (2016-09-21 01:13:39 UTC) #6
hubbe
https://codereview.chromium.org/2357773003/diff/1/media/blink/multibuffer_data_source.cc File media/blink/multibuffer_data_source.cc (right): https://codereview.chromium.org/2357773003/diff/1/media/blink/multibuffer_data_source.cc#newcode534 media/blink/multibuffer_data_source.cc:534: void MultibufferDataSource::UpdateLoadingState(bool force_loading) { On 2016/09/21 01:13:39, sandersd wrote: ...
4 years, 3 months ago (2016-09-21 04:19:22 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/2357773003/20001
4 years, 3 months ago (2016-09-21 07:10:51 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-21 07:18:07 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 07:20:40 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3b2a5629da155db59d3449a6d640c107e91aa14d
Cr-Commit-Position: refs/heads/master@{#419995}

Powered by Google App Engine
This is Rietveld 408576698