diff options
author | danakj <danakj@chromium.org> | 2015-12-04 12:12:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-04 20:13:42 +0000 |
commit | 4b041ab3706e1c26bf105617750353ec111cf18b (patch) | |
tree | f4147c384802594c5701d3b8770cb0c243ea010a /components/component_updater | |
parent | 14d1b99388647b719bc02be6f282b989d6ee19d5 (diff) | |
download | chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.zip chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.tar.gz chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.tar.bz2 |
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.
R=thakis@chromium.org
BUG=557422
Review URL: https://codereview.chromium.org/1477643002
Cr-Commit-Position: refs/heads/master@{#363281}
Diffstat (limited to 'components/component_updater')
-rw-r--r-- | components/component_updater/component_updater_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ scoped_ptr<ComponentUpdateService> ComponentUpdateServiceFactory( 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 |