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

Unified Diff: chrome/browser/ui/views/payments/shipping_address_editor_view_controller.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/payments/shipping_address_editor_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
index d03787345ad9ce12a21b903de5472d4946e10f63..8504a15b75ae0c9a85012fd6ef511a021ab22e66 100644
--- a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
+++ b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
@@ -327,8 +327,8 @@ void ShippingAddressEditorViewController::OnDataChanged() {
// The editor can't be updated while in the middle of a combobox event.
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
- base::Bind(&ShippingAddressEditorViewController::UpdateEditorView,
- base::Unretained(this)));
+ base::BindOnce(&ShippingAddressEditorViewController::UpdateEditorView,
+ base::Unretained(this)));
}
void ShippingAddressEditorViewController::OnComboboxModelChanged(

Powered by Google App Engine
This is Rietveld 408576698