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

Issue 10823069: Make peeking before the head of OffsetByteQueue a hard error. (Closed)

Created:
8 years, 4 months ago by strobe_
Modified:
8 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Make peeking before the head of OffsetByteQueue a hard error. BUG= TEST=OffsetByteQueueTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149293

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove death test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M media/mp4/offset_byte_queue.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/mp4/offset_byte_queue_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
strobe_
Hi Aaron, a small CL to make one kind of bug stand out more, which ...
8 years, 4 months ago (2012-07-28 06:05:32 UTC) #1
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/10823069/diff/1/media/mp4/offset_byte_queue.cc File media/mp4/offset_byte_queue.cc (right): http://codereview.chromium.org/10823069/diff/1/media/mp4/offset_byte_queue.cc#newcode40 media/mp4/offset_byte_queue.cc:40: DCHECK(offset >= head()); Is this a result of a ...
8 years, 4 months ago (2012-07-30 20:49:04 UTC) #2
strobe_
https://chromiumcodereview.appspot.com/10823069/diff/1/media/mp4/offset_byte_queue.cc File media/mp4/offset_byte_queue.cc (right): https://chromiumcodereview.appspot.com/10823069/diff/1/media/mp4/offset_byte_queue.cc#newcode40 media/mp4/offset_byte_queue.cc:40: DCHECK(offset >= head()); On 2012/07/30 20:49:04, acolwell wrote: > ...
8 years, 4 months ago (2012-07-31 18:34:38 UTC) #3
acolwell GONE FROM CHROMIUM
LGTM https://chromiumcodereview.appspot.com/10823069/diff/1/media/mp4/offset_byte_queue_unittest.cc File media/mp4/offset_byte_queue_unittest.cc (right): https://chromiumcodereview.appspot.com/10823069/diff/1/media/mp4/offset_byte_queue_unittest.cc#newcode60 media/mp4/offset_byte_queue_unittest.cc:60: ASSERT_DEATH(queue_->PeekAt(128, &buf, &size), "offset >= head"); Remove this ...
8 years, 4 months ago (2012-07-31 19:27:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/strobe@google.com/10823069/7001
8 years, 4 months ago (2012-07-31 20:45:38 UTC) #5
commit-bot: I haz the power
8 years, 4 months ago (2012-07-31 22:18:04 UTC) #6
Change committed as 149293

Powered by Google App Engine
This is Rietveld 408576698