| Index: mojo/fetcher/about_fetcher.cc
|
| diff --git a/mojo/fetcher/about_fetcher.cc b/mojo/fetcher/about_fetcher.cc
|
| index c09f09d133d5b47715a73e04b07c948936fcca6a..765faa8bdff8e5bc76181511ab4be1b72dd1d04b 100644
|
| --- a/mojo/fetcher/about_fetcher.cc
|
| +++ b/mojo/fetcher/about_fetcher.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "mojo/fetcher/about_fetcher.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/files/file_path.h"
|
| #include "base/logging.h"
|
| @@ -17,7 +19,7 @@ namespace {
|
| void RunFetcherCallback(const shell::Fetcher::FetchCallback& callback,
|
| scoped_ptr<shell::Fetcher> fetcher,
|
| bool success) {
|
| - callback.Run(success ? fetcher.Pass() : nullptr);
|
| + callback.Run(success ? std::move(fetcher) : nullptr);
|
| }
|
|
|
| } // namespace
|
| @@ -83,7 +85,7 @@ URLResponsePtr AboutFetcher::AsURLResponse(base::TaskRunner* task_runner,
|
| // doesn't have a body.
|
| DCHECK(!response_->body.is_valid());
|
|
|
| - return response_.Pass();
|
| + return std::move(response_);
|
| }
|
|
|
| void AboutFetcher::AsPath(
|
|
|