mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update url_request_http_job.cc
This commit is contained in:
parent
2db61bc1e9
commit
43e9beef9c
1 changed files with 2 additions and 2 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "base/check_op.h"
|
||||
#include "base/command_line.h"
|
||||
#include "base/compiler_specific.h"
|
||||
#include "base/containers/adapters.h"
|
||||
#include "base/file_version_info.h"
|
||||
#include "base/location.h"
|
||||
#include "base/memory/ptr_util.h"
|
||||
|
@ -1338,9 +1339,8 @@ std::unique_ptr<SourceStream> URLRequestHttpJob::SetUpSourceStream() {
|
|||
}
|
||||
}
|
||||
|
||||
for (auto r_iter = types.rbegin(); r_iter != types.rend(); ++r_iter) {
|
||||
for (const auto& type : base::Reversed(types)) {
|
||||
std::unique_ptr<FilterSourceStream> downstream;
|
||||
SourceStream::SourceType type = *r_iter;
|
||||
switch (type) {
|
||||
case SourceStream::TYPE_BROTLI:
|
||||
downstream = CreateBrotliSourceStream(std::move(upstream));
|
||||
|
|
Loading…
Reference in a new issue