| Index: webkit/media/buffered_resource_loader.cc
|
| diff --git a/webkit/media/buffered_resource_loader.cc b/webkit/media/buffered_resource_loader.cc
|
| index 6496f7fa9c95952c69e79c25ee05bba367988774..cfeda51d00cd0073e1171262f51190fa469e966e 100644
|
| --- a/webkit/media/buffered_resource_loader.cc
|
| +++ b/webkit/media/buffered_resource_loader.cc
|
| @@ -378,12 +378,12 @@ void BufferedResourceLoader::didReceiveResponse(
|
| int shift = 0;
|
| int max_enum = base::bits::Log2Ceiling(kMaxReason);
|
| while (reasons) {
|
| + DCHECK_LT(shift, max_enum); // Sanity check.
|
| if (reasons & 0x1)
|
| UMA_HISTOGRAM_ENUMERATION("Media.UncacheableReason", shift, max_enum);
|
| reasons >>= 1;
|
| ++shift;
|
| }
|
| - DCHECK_LT(shift, max_enum); // Sanity check.
|
|
|
| // Expected content length can be |kPositionNotSpecified|, in that case
|
| // |content_length_| is not specified and this is a streaming response.
|
|
|