chore: Bind=>BindRepeating for constructors (#17924)
This commit is contained in:
parent
aed0b1ee54
commit
02c7b92095
10 changed files with 15 additions and 11 deletions
|
@ -91,7 +91,8 @@ void AutoUpdater::OnUpdateDownloaded(const std::string& release_notes,
|
|||
const std::string& url) {
|
||||
Emit("update-downloaded", release_notes, release_name, release_date, url,
|
||||
// Keep compatibility with old APIs.
|
||||
base::Bind(&AutoUpdater::QuitAndInstall, base::Unretained(this)));
|
||||
base::BindRepeating(&AutoUpdater::QuitAndInstall,
|
||||
base::Unretained(this)));
|
||||
}
|
||||
|
||||
void AutoUpdater::OnWindowAllClosed() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue