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

Issue 645853011: Fix errors in comments. Make comments match code. (Closed)

Created:
6 years, 2 months ago by wtc
Modified:
6 years, 2 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix errors in comments. Make comments match code. Fix the DCHECK in ValidateLayout for symmetric channel layouts. Add 'const' to methods that don't mutate class members. Include "base/macros.h" for the DISALLOW_COPY_AND_ASSIGN macro. R=dalecurtis@chromium.org Committed: https://crrev.com/80aa80baf86aed95ff718325f1d70ad39fbe9865 Cr-Commit-Position: refs/heads/master@{#300612}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Remove TODO comments #

Patch Set 3 : Use DCHECK_EQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -28 lines) Patch
M media/base/channel_layout.h View 1 chunk +1 line, -1 line 0 comments Download
M media/base/channel_layout.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/channel_mixer.h View 1 chunk +1 line, -1 line 0 comments Download
M media/base/channel_mixer.cc View 1 2 7 chunks +22 lines, -25 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
wtc
Hi Dale, I read media/base/channel_mixer.* to understand how it works. Here are the fixes for ...
6 years, 2 months ago (2014-10-21 20:42:37 UTC) #1
DaleCurtis
https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc File media/base/channel_mixer.cc (right): https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc#newcode51 media/base/channel_mixer.cc:51: (ChannelOrder(layout, RIGHT_OF_CENTER) >= 0)) On 2014/10/21 20:42:37, wtc wrote: ...
6 years, 2 months ago (2014-10-21 20:52:04 UTC) #2
wtc
Dale: thank you for the review. I removed the TODO comments. https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc File media/base/channel_mixer.cc (right): ...
6 years, 2 months ago (2014-10-21 21:16:59 UTC) #3
DaleCurtis
https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc File media/base/channel_mixer.cc (right): https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc#newcode51 media/base/channel_mixer.cc:51: (ChannelOrder(layout, RIGHT_OF_CENTER) >= 0)) On 2014/10/21 21:16:58, wtc wrote: ...
6 years, 2 months ago (2014-10-21 21:22:59 UTC) #4
wtc
Dale: please review patch set 3. Thanks. https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc File media/base/channel_mixer.cc (right): https://codereview.chromium.org/645853011/diff/1/media/base/channel_mixer.cc#newcode51 media/base/channel_mixer.cc:51: (ChannelOrder(layout, RIGHT_OF_CENTER) ...
6 years, 2 months ago (2014-10-21 21:48:50 UTC) #5
DaleCurtis
lgtm, but go ahead and set BUG=none or remove it from the description for cleanliness.
6 years, 2 months ago (2014-10-21 21:52:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645853011/40001
6 years, 2 months ago (2014-10-21 23:38:41 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-22 01:49:31 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 04:05:12 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/80aa80baf86aed95ff718325f1d70ad39fbe9865
Cr-Commit-Position: refs/heads/master@{#300612}

Powered by Google App Engine
This is Rietveld 408576698