chore: convert some more files from base::Bind (#17968)

This commit is contained in:
Shelley Vohr 2019-04-27 18:03:06 -07:00 committed by Cheng Zhao
parent 72baff1c88
commit fe618631f1
5 changed files with 20 additions and 16 deletions

View file

@ -176,7 +176,8 @@ Cookies::Cookies(v8::Isolate* isolate, AtomBrowserContext* browser_context)
Init(isolate);
cookie_change_subscription_ =
browser_context_->cookie_change_notifier()->RegisterCookieChangeCallback(
base::Bind(&Cookies::OnCookieChanged, base::Unretained(this)));
base::BindRepeating(&Cookies::OnCookieChanged,
base::Unretained(this)));
}
Cookies::~Cookies() {}