commit | 4b041ab3706e1c26bf105617750353ec111cf18b | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Fri Dec 04 20:12:27 2015 |
committer | Commit bot <[email protected]> | Fri Dec 04 20:13:42 2015 |
tree | f4147c384802594c5701d3b8770cb0c243ea010a | |
parent | 14d1b99388647b719bc02be6f282b989d6ee19d5 [diff] [blame] |
Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. This macro existed only to add a Pass() method on scoped_refptr and skia::RefPtr. We can just use std::move() now, so replace callsites to Pass() with std::move() and kill the macro. [email protected] BUG=557422 Review URL: https://codereview.chromium.org/1477643002 Cr-Commit-Position: refs/heads/master@{#363281}
diff --git a/components/component_updater/component_updater_service.cc b/components/component_updater/component_updater_service.cc index 1c49d26..490e5c4 100644 --- a/components/component_updater/component_updater_service.cc +++ b/components/component_updater/component_updater_service.cc
@@ -352,7 +352,7 @@ DCHECK(config); auto update_client = update_client::UpdateClientFactory(config); return scoped_ptr<ComponentUpdateService>( - new CrxUpdateService(config, update_client.Pass())); + new CrxUpdateService(config, std::move(update_client))); } } // namespace component_updater