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