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

Unified Diff: chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc

Issue 2825963003: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/extensions (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/extensions/api/tab_capture/tab_capture_registry.cc
diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
index c72f121441e306d67997e14ece3c00f050af2058..6ad2f258e3f518f1128f3f59284a81c67c3bd47c 100644
--- a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
+++ b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
@@ -67,9 +67,8 @@ class WindowAdoptionAgent : protected aura::WindowObserver {
// avoid clashing with the currently-in-progress window tree hierarchy
// changes.
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(&WindowAdoptionAgent::FindNewParent,
- weak_ptr_factory_.GetWeakPtr()));
+ FROM_HERE, base::BindOnce(&WindowAdoptionAgent::FindNewParent,
+ weak_ptr_factory_.GetWeakPtr()));
}
// aura::WindowObserver:

Powered by Google App Engine
This is Rietveld 408576698