Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index 8e6a55a66539bb7771006db18793103c7e199fee..a6f29c5329f6d6740a6f653b4890e5fb9dfde75c 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -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); |