Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: chrome/browser/ui/views/autofill/autofill_popup_base_view.cc

Issue 2824363002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/ui (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
index 34d1bf15c86c9d7235b100fdff84fa2a5ec4b8fc..4540466be26e5679844c5eac826893f683d517c3 100644
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
@@ -137,8 +137,8 @@ void AutofillPopupBaseView::OnMouseExited(const ui::MouseEvent& event) {
// OnMouseExited event. Pressing return should activate the current selection
// via AcceleratorPressed, so we need to let that run first.
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&AutofillPopupBaseView::ClearSelection,
- weak_ptr_factory_.GetWeakPtr()));
+ FROM_HERE, base::BindOnce(&AutofillPopupBaseView::ClearSelection,
+ weak_ptr_factory_.GetWeakPtr()));
}
void AutofillPopupBaseView::OnMouseMoved(const ui::MouseEvent& event) {
« no previous file with comments | « chrome/browser/ui/unload_controller.cc ('k') | chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698