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

Issue 10855167: Downgrade media::Pipeline CHECKs into NOTREACHED() + no-op. (Closed)

Created:
8 years, 4 months ago by scherkus (not reviewing)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Downgrade media::Pipeline CHECKs into NOTREACHED() + no-op. r150930 set Pipeline::running_ to false when an error is encountered as opposed to keeping the Pipeline running. The end result is that an in-flight Seek() can hit CHECK(running_). We want a no-op in that situation in release mode, not a process crash. BUG=141923 TBR=fischman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151662

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M media/base/pipeline.cc View 2 chunks +8 lines, -2 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
scherkus (not reviewing)
admittedly a bit of a bandaid but I'm working on a layout test to cover ...
8 years, 4 months ago (2012-08-15 04:58:21 UTC) #1
Ami GONE FROM CHROMIUM
lgtm
8 years, 4 months ago (2012-08-15 05:07:31 UTC) #2
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10855167/diff/1/media/base/pipeline.cc File media/base/pipeline.cc (right): https://chromiumcodereview.appspot.com/10855167/diff/1/media/base/pipeline.cc#newcode113 media/base/pipeline.cc:113: if (running_) { wait, what? How can this happen?
8 years, 4 months ago (2012-08-15 05:08:11 UTC) #3
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/10855167/diff/1/media/base/pipeline.cc File media/base/pipeline.cc (right): https://chromiumcodereview.appspot.com/10855167/diff/1/media/base/pipeline.cc#newcode113 media/base/pipeline.cc:113: if (running_) { On 2012/08/15 05:08:11, Ami Fischman wrote: ...
8 years, 4 months ago (2012-08-15 05:08:59 UTC) #4
Ami GONE FROM CHROMIUM
> wait, what? How can this happen? > > being silly (i.e., calling Start() twice) ...
8 years, 4 months ago (2012-08-15 05:09:49 UTC) #5
scherkus (not reviewing)
On 2012/08/15 05:09:49, Ami Fischman wrote: > > wait, what? How can this happen? > ...
8 years, 4 months ago (2012-08-15 05:13:46 UTC) #6
Ami GONE FROM CHROMIUM
8 years, 4 months ago (2012-08-15 05:21:48 UTC) #7
On Tue, Aug 14, 2012 at 10:13 PM, <scherkus@chromium.org> wrote:

> None of our existing code does this today.
>

Yeah, well, a followup CL can take it out, then :)

Powered by Google App Engine
This is Rietveld 408576698