Index: chrome/browser/sync/glue/password_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/password_data_type_controller.cc b/chrome/browser/sync/glue/password_data_type_controller.cc |
index 508e9de603439268a4ba1927c23562a4b0fbf121..22a218af6099818534a91063d9fe6224789e8e5c 100644 |
--- a/chrome/browser/sync/glue/password_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/password_data_type_controller.cc |
@@ -46,7 +46,7 @@ bool PasswordDataTypeController::StartAssociationAsync() { |
DCHECK_EQ(state(), ASSOCIATING); |
DCHECK(password_store_.get()); |
password_store_->ScheduleTask( |
- NewRunnableMethod(this, &PasswordDataTypeController::StartAssociation)); |
+ base::Bind(&PasswordDataTypeController::StartAssociation, this)); |
return true; |
} |
@@ -67,7 +67,7 @@ bool PasswordDataTypeController::StopAssociationAsync() { |
DCHECK_EQ(state(), STOPPING); |
DCHECK(password_store_.get()); |
password_store_->ScheduleTask( |
- NewRunnableMethod(this, &PasswordDataTypeController::StopAssociation)); |
+ base::Bind(&PasswordDataTypeController::StopAssociation, this)); |
return true; |
} |