Index: cc/resources/picture_pile.cc |
diff --git a/cc/resources/picture_pile.cc b/cc/resources/picture_pile.cc |
index 43b13c577941531cebac25736e7ba2003c5b1e93..7e5a82252133f705d0696fc92faceda491e91d3d 100644 |
--- a/cc/resources/picture_pile.cc |
+++ b/cc/resources/picture_pile.cc |
@@ -228,7 +228,8 @@ |
bool gather_pixel_refs = num_raster_threads > 1; |
{ |
- base::TimeDelta best_duration = base::TimeDelta::Max(); |
+ base::TimeDelta best_duration = base::TimeDelta::FromInternalValue( |
+ std::numeric_limits<int64>::max()); |
for (int i = 0; i < repeat_count; i++) { |
base::TimeTicks start_time = stats_instrumentation->StartRecording(); |
picture = Picture::Create(record_rect, |