Index: chrome/browser/extensions/extension_gcm_app_handler.cc |
diff --git a/chrome/browser/extensions/extension_gcm_app_handler.cc b/chrome/browser/extensions/extension_gcm_app_handler.cc |
index 417f8ee2bb865094711d3a1f280999501cf06349..7e6ef5c25df76e73f89fe3df5a555967e629dbfe 100644 |
--- a/chrome/browser/extensions/extension_gcm_app_handler.cc |
+++ b/chrome/browser/extensions/extension_gcm_app_handler.cc |
@@ -130,8 +130,9 @@ void ExtensionGCMAppHandler::OnExtensionUnloaded( |
AddDummyAppHandler(); |
base::ThreadTaskRunnerHandle::Get()->PostTask( |
- FROM_HERE, base::Bind(&ExtensionGCMAppHandler::RemoveDummyAppHandler, |
- weak_factory_.GetWeakPtr())); |
+ FROM_HERE, |
+ base::BindOnce(&ExtensionGCMAppHandler::RemoveDummyAppHandler, |
+ weak_factory_.GetWeakPtr())); |
} |
// When the extention is being uninstalled, it will be unloaded first. We |
@@ -190,8 +191,8 @@ void ExtensionGCMAppHandler::OnDeleteIDCompleted( |
// Postpone to do it outside this calling context to avoid any risk to |
// the caller. |
base::ThreadTaskRunnerHandle::Get()->PostTask( |
- FROM_HERE, base::Bind(&ExtensionGCMAppHandler::RemoveInstanceID, |
- weak_factory_.GetWeakPtr(), app_id)); |
+ FROM_HERE, base::BindOnce(&ExtensionGCMAppHandler::RemoveInstanceID, |
+ weak_factory_.GetWeakPtr(), app_id)); |
} |
void ExtensionGCMAppHandler::RemoveInstanceID(const std::string& app_id) { |