Index: cc/resources/picture_pile_impl.cc |
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc |
index 7e29dff0940500e7cca1d5e02bb5e876737d491c..2ee6517c20632023d4482069d953a93a7a3baae6 100644 |
--- a/cc/resources/picture_pile_impl.cc |
+++ b/cc/resources/picture_pile_impl.cc |
@@ -247,8 +247,7 @@ void PicturePileImpl::RasterCommon( |
total_clip.Union(positive_clip); |
#endif // NDEBUG |
- base::TimeDelta best_duration = |
- base::TimeDelta::FromInternalValue(std::numeric_limits<int64>::max()); |
+ base::TimeDelta best_duration = base::TimeDelta::Max(); |
int repeat_count = std::max(1, slow_down_raster_scale_factor_for_debug_); |
int rasterized_pixel_count = 0; |