| Index: components/update_client/action_update_check.cc
|
| diff --git a/components/update_client/action_update_check.cc b/components/update_client/action_update_check.cc
|
| index 1f1422997794f9293fdab7c304a9ec5bec7668d7..deb250f3964ab286990ae7cca85346e839d387a1 100644
|
| --- a/components/update_client/action_update_check.cc
|
| +++ b/components/update_client/action_update_check.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/update_client/action_update_check.h"
|
|
|
| #include <stddef.h>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| @@ -39,10 +40,9 @@ ActionUpdateCheck::ActionUpdateCheck(
|
| scoped_ptr<UpdateChecker> update_checker,
|
| const base::Version& browser_version,
|
| const std::string& extra_request_parameters)
|
| - : update_checker_(update_checker.Pass()),
|
| + : update_checker_(std::move(update_checker)),
|
| browser_version_(browser_version),
|
| - extra_request_parameters_(extra_request_parameters) {
|
| -}
|
| + extra_request_parameters_(extra_request_parameters) {}
|
|
|
| ActionUpdateCheck::~ActionUpdateCheck() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|