Commit a03dd6dd authored by Maksim Ivanov's avatar Maksim Ivanov Committed by Commit Bot

Remove useless std::move() call

std::move() has no effect when the parameter is const - there's no way
to move data from such values elsewhere.

Bug: none
Change-Id: I218443e50cae37c731ec59efc3cf69029e325e72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2318665
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Auto-Submit: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791386}
parent bd3672f5
......@@ -87,9 +87,8 @@ void CrostiniRecoveryView::OnStopVm(crostini::CrostiniResult result) {
LOG(ERROR) << "Error stopping VM for recovery: " << (int)result;
}
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
base::BindOnce(&crostini::LaunchCrostiniApp, profile_, app_id_,
display_id_, std::move(files_), std::move(callback_)));
FROM_HERE, base::BindOnce(&crostini::LaunchCrostiniApp, profile_, app_id_,
display_id_, files_, std::move(callback_)));
GetWidget()->CloseWithReason(
views::Widget::ClosedReason::kAcceptButtonClicked);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment