Index: net/quic/crypto/channel_id_chromium.cc |
diff --git a/net/quic/crypto/channel_id_chromium.cc b/net/quic/crypto/channel_id_chromium.cc |
index 3f50b768302f95565369a11816da0bef53620231..1aec7e7b8a0da2f782e4fb91cb1a7fb24840eaa7 100644 |
--- a/net/quic/crypto/channel_id_chromium.cc |
+++ b/net/quic/crypto/channel_id_chromium.cc |
@@ -190,14 +190,9 @@ int ChannelIDSourceChromium::Job::DoGetChannelIDKeyComplete(int result) { |
return result; |
} |
- if (!channel_id_crypto_key_) { |
- // TODO(wtc): use the new error code ERR_CHANNEL_ID_IMPORT_FAILED to be |
- // added in https://codereview.chromium.org/338093012/. |
- return ERR_UNEXPECTED; |
- } |
+ DCHECK(channel_id_crypto_key_); |
channel_id_key_.reset( |
new ChannelIDKeyChromium(std::move(channel_id_crypto_key_))); |
- |
return result; |
} |