Index: media/base/video_util.cc |
diff --git a/media/base/video_util.cc b/media/base/video_util.cc |
index f7fd47ae84b357ee20be86b401cec3fe7d8396a1..d77b0084355c37a32c3e77a24b082c4c34e1aa02 100644 |
--- a/media/base/video_util.cc |
+++ b/media/base/video_util.cc |
@@ -270,7 +270,7 @@ static int RoundedDivision(int64_t a, int b) { |
base::CheckedNumeric<uint64_t> result(a); |
result += b / 2; |
result /= b; |
- return base::checked_cast<int>(result.ValueOrDie()); |
+ return base::ValueOrDieForType<int>(result); |
} |
// Common logic for the letterboxing and scale-within/scale-encompassing |