Index: cc/resources/picture_pile_impl.cc |
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc |
index 1254f13778640bad03aca67977be6d3ffd6180b6..b88a43998a522ce7df29743e6ed13debd6fae944 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; |