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

Unified Diff: base/message_loop/message_pump_win.cc

Issue 2824533002: Migrate Bind to BindOnce or BindRepeating in //base/message_loop (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: base/message_loop/message_pump_win.cc
diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc
index d52c78563c8cb9e17a87a72a1bf29e9987d1d0ad..a09aa4caf41dd6017d9576c3c0ee8a57ab10f884 100644
--- a/base/message_loop/message_pump_win.cc
+++ b/base/message_loop/message_pump_win.cc
@@ -90,7 +90,7 @@ int MessagePumpWin::GetCurrentDelay() const {
MessagePumpForUI::MessagePumpForUI() {
bool succeeded = message_window_.Create(
- Bind(&MessagePumpForUI::MessageCallback, Unretained(this)));
+ BindRepeating(&MessagePumpForUI::MessageCallback, Unretained(this)));
DCHECK(succeeded);
}

Powered by Google App Engine
This is Rietveld 408576698