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

Unified Diff: chrome/browser/ui/fast_unload_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/fast_unload_controller.cc
diff --git a/chrome/browser/ui/fast_unload_controller.cc b/chrome/browser/ui/fast_unload_controller.cc
index add48b149446e25ca2899372a7c297cc82a0e08f..005315842835be9062432f1185a889a05c2dcb45 100644
--- a/chrome/browser/ui/fast_unload_controller.cc
+++ b/chrome/browser/ui/fast_unload_controller.cc
@@ -491,8 +491,8 @@ void FastUnloadController::ClearUnloadState(content::WebContents* contents) {
void FastUnloadController::PostTaskForProcessPendingTabs() {
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&FastUnloadController::ProcessPendingTabs,
- weak_factory_.GetWeakPtr(), false));
+ FROM_HERE, base::BindOnce(&FastUnloadController::ProcessPendingTabs,
+ weak_factory_.GetWeakPtr(), false));
}
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/extensions/extension_installed_bubble.cc ('k') | chrome/browser/ui/hung_plugin_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698