| Index: net/url_request/url_request_http_job.cc
|
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
|
| index a25afcb2baa5651dd0b3fae40186fcce4f0d5a9c..47efe5543cf0db017b000cefd02f9023ff7ea2a9 100644
|
| --- a/net/url_request/url_request_http_job.cc
|
| +++ b/net/url_request/url_request_http_job.cc
|
| @@ -45,7 +45,6 @@
|
| #include "net/url_request/url_request_error_job.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
| #include "net/url_request/url_request_redirect_job.h"
|
| -#include "net/url_request/url_request_throttler_header_adapter.h"
|
| #include "net/url_request/url_request_throttler_manager.h"
|
| #include "net/websockets/websocket_handshake_stream_base.h"
|
|
|
| @@ -309,9 +308,8 @@ void URLRequestHttpJob::NotifyHeadersComplete() {
|
| is_cached_content_ = response_info_->was_cached;
|
|
|
| if (!is_cached_content_ && throttling_entry_.get()) {
|
| - URLRequestThrottlerHeaderAdapter response_adapter(GetResponseHeaders());
|
| throttling_entry_->UpdateWithResponse(request_info_.url.host(),
|
| - &response_adapter);
|
| + GetResponseCode());
|
| }
|
|
|
| // The ordering of these calls is not important.
|
|
|