| Index: net/url_request/url_request_job.cc
|
| diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
|
| index 66fc9f3235687881e53b289889983641fcf9a10a..14c80fa923a5380df60c4871246e9e76ee29d154 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -34,9 +34,9 @@ URLRequestJob::URLRequestJob(URLRequest* request,
|
| deferred_redirect_status_code_(-1),
|
| network_delegate_(network_delegate),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
|
| - base::SystemMonitor* system_monitor = base::SystemMonitor::Get();
|
| + base::PowerMonitor* system_monitor = base::PowerMonitor::Get();
|
| if (system_monitor)
|
| - base::SystemMonitor::Get()->AddPowerObserver(this);
|
| + base::PowerMonitor::Get()->AddPowerObserver(this);
|
| }
|
|
|
| void URLRequestJob::SetUpload(UploadData* upload) {
|
| @@ -220,9 +220,9 @@ void URLRequestJob::NotifyURLRequestDestroyed() {
|
| }
|
|
|
| URLRequestJob::~URLRequestJob() {
|
| - base::SystemMonitor* system_monitor = base::SystemMonitor::Get();
|
| + base::PowerMonitor* system_monitor = base::PowerMonitor::Get();
|
| if (system_monitor)
|
| - base::SystemMonitor::Get()->RemovePowerObserver(this);
|
| + base::PowerMonitor::Get()->RemovePowerObserver(this);
|
| }
|
|
|
| void URLRequestJob::NotifyCertificateRequested(
|
|
|