Index: trunk/src/cc/resources/picture_pile.cc |
=================================================================== |
--- trunk/src/cc/resources/picture_pile.cc (revision 253642) |
+++ trunk/src/cc/resources/picture_pile.cc (working copy) |
@@ -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, |