| Index: chromeos/timezone/timezone_unittest.cc
|
| diff --git a/chromeos/timezone/timezone_unittest.cc b/chromeos/timezone/timezone_unittest.cc
|
| index 37c608c8855bdfbdcf0f2f651bfdf720f5395f24..b26ae54acb5efe02d41826f54154c4645395fd2b 100644
|
| --- a/chromeos/timezone/timezone_unittest.cc
|
| +++ b/chromeos/timezone/timezone_unittest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include <stddef.h>
|
| +#include <utility>
|
|
|
| #include "base/macros.h"
|
| #include "base/message_loop/message_loop.h"
|
| @@ -118,7 +119,7 @@ class TestTimeZoneAPIURLFetcherCallback {
|
| new net::HttpResponseHeaders(std::string());
|
| download_headers->AddHeader("Content-Type: application/json");
|
| fetcher->set_response_headers(download_headers);
|
| - return fetcher.Pass();
|
| + return fetcher;
|
| }
|
|
|
| void Initialize(net::FakeURLFetcherFactory* factory) {
|
| @@ -177,7 +178,7 @@ class TimeZoneReceiver {
|
|
|
| void OnRequestDone(scoped_ptr<TimeZoneResponseData> timezone,
|
| bool server_error) {
|
| - timezone_ = timezone.Pass();
|
| + timezone_ = std::move(timezone);
|
| server_error_ = server_error;
|
|
|
| message_loop_runner_->Quit();
|
|
|