Index: net/spdy/spdy_protocol.cc |
diff --git a/net/spdy/spdy_protocol.cc b/net/spdy/spdy_protocol.cc |
index 1fb88eda34be5b616a047b05969685a9542b03d5..68b3e0f8c2f32bae05fd688cb91034cca5342924 100644 |
--- a/net/spdy/spdy_protocol.cc |
+++ b/net/spdy/spdy_protocol.cc |
@@ -224,9 +224,9 @@ bool SpdyConstants::IsValidSettingId(SpdyMajorVersion version, |
return false; |
} |
- // COMPRESS_DATA is the last valid setting id. |
+ // INITIAL_WINDOW_SIZE is the last valid setting id. |
if (setting_id_field > |
- SerializeSettingId(version, SETTINGS_COMPRESS_DATA)) { |
+ SerializeSettingId(version, SETTINGS_INITIAL_WINDOW_SIZE)) { |
return false; |
} |
@@ -270,8 +270,6 @@ SpdySettingsIds SpdyConstants::ParseSettingId(SpdyMajorVersion version, |
return SETTINGS_MAX_CONCURRENT_STREAMS; |
case 4: |
return SETTINGS_INITIAL_WINDOW_SIZE; |
- case 5: |
- return SETTINGS_COMPRESS_DATA; |
} |
break; |
} |
@@ -315,8 +313,6 @@ int SpdyConstants::SerializeSettingId(SpdyMajorVersion version, |
return 3; |
case SETTINGS_INITIAL_WINDOW_SIZE: |
return 4; |
- case SETTINGS_COMPRESS_DATA: |
- return 5; |
default: |
LOG(DFATAL) << "Serializing unhandled setting id " << id; |
return -1; |