Index: media/base/channel_mixer_unittest.cc |
diff --git a/media/base/channel_mixer_unittest.cc b/media/base/channel_mixer_unittest.cc |
index e048f8d9fc5811d41be77da66f82607439077426..c4634938bcf1ef1725583b2a75053c0745e61e35 100644 |
--- a/media/base/channel_mixer_unittest.cc |
+++ b/media/base/channel_mixer_unittest.cc |
@@ -21,7 +21,7 @@ enum { kFrames = 16 }; |
// Test all possible layout conversions can be constructed and mixed. |
TEST(ChannelMixerTest, ConstructAllPossibleLayouts) { |
for (ChannelLayout input_layout = CHANNEL_LAYOUT_MONO; |
- input_layout < CHANNEL_LAYOUT_MAX; |
+ input_layout < CHANNEL_LAYOUT_HISTOGRAM_MAX; |
input_layout = static_cast<ChannelLayout>(input_layout + 1)) { |
for (ChannelLayout output_layout = CHANNEL_LAYOUT_MONO; |
output_layout < CHANNEL_LAYOUT_STEREO_DOWNMIX; |