Index: content/common/gpu/media/video_encode_accelerator_unittest.cc |
diff --git a/content/common/gpu/media/video_encode_accelerator_unittest.cc b/content/common/gpu/media/video_encode_accelerator_unittest.cc |
index 701eae84b8edd4bf27ff964c26899b56ece4745b..7d86c431f6930224b44dfed70effae4bc881b490 100644 |
--- a/content/common/gpu/media/video_encode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_encode_accelerator_unittest.cc |
@@ -82,7 +82,7 @@ static void ParseAndReadTestStreamData(base::FilePath::StringType data, |
int profile; |
CHECK(base::StringToInt(fields[3], &profile)); |
CHECK_GT(profile, media::VIDEO_CODEC_PROFILE_UNKNOWN); |
- CHECK_LE(profile, media::VIDEO_CODEC_PROFILE_MAX); |
+ CHECK_LT(profile, media::VIDEO_CODEC_PROFILE_HISTOGRAM_MAX); |
test_stream->requested_profile = |
static_cast<media::VideoCodecProfile>(profile); |
if (fields.size() >= 5 && !fields[4].empty()) |