| 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 a9e96272ede9650b73341a50369ba42534a16309..ff6299a28ba0e0e7169f322929e9aa76f7e7a602 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -34,7 +34,7 @@ URLRequestJob::URLRequestJob(URLRequest* request)
|
| ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
|
| base::SystemMonitor* system_monitor = base::SystemMonitor::Get();
|
| if (system_monitor)
|
| - base::SystemMonitor::Get()->AddObserver(this);
|
| + base::SystemMonitor::Get()->AddPowerObserver(this);
|
| }
|
|
|
| void URLRequestJob::SetUpload(UploadData* upload) {
|
| @@ -219,7 +219,7 @@ void URLRequestJob::NotifyURLRequestDestroyed() {
|
| URLRequestJob::~URLRequestJob() {
|
| base::SystemMonitor* system_monitor = base::SystemMonitor::Get();
|
| if (system_monitor)
|
| - base::SystemMonitor::Get()->RemoveObserver(this);
|
| + base::SystemMonitor::Get()->RemovePowerObserver(this);
|
| }
|
|
|
| void URLRequestJob::NotifyCertificateRequested(
|
|
|