DescriptionRemove unreachable code in HttpStreamFactoryImpl::Job::Orphan
This CL removes unreachable code that handles WebSockets path in
HttpStreamFactoryImpl::Job::Orphan().
WebSockets will not have two jobs, so the code is unreachable.
This CL adds DCHECK(!for_websockets()) to make sure that the code
is indeed not reachable.
BUG=475060
Review-Url: https://codereview.chromium.org/2801993006
Cr-Commit-Position: refs/heads/master@{#463256}
Committed: https://chromium.googlesource.com/chromium/src/+/1122620622afb5b96b2c7b3ea907e2a5fb633f27
Patch Set 1 #
Messages
Total messages: 20 (13 generated)
|