| 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:
|
|
|