Index: trunk/src/net/spdy/spdy_session.cc |
=================================================================== |
--- trunk/src/net/spdy/spdy_session.cc (revision 253642) |
+++ trunk/src/net/spdy/spdy_session.cc (working copy) |
@@ -2723,7 +2723,9 @@ |
if (delay.InMilliseconds() < 0 || last_activity_time_ < last_check_time) { |
// Track all failed PING messages in a separate bucket. |
- RecordPingRTTHistogram(base::TimeDelta::Max()); |
+ const base::TimeDelta kFailedPing = |
+ base::TimeDelta::FromInternalValue(INT_MAX); |
+ RecordPingRTTHistogram(kFailedPing); |
CloseSessionResult result = |
DoCloseSession(ERR_SPDY_PING_FAILED, "Failed ping."); |
DCHECK_EQ(result, SESSION_CLOSED_AND_REMOVED); |