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