| Index: chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| diff --git a/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc b/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| index 006968aeb63f889e614bb39d39734aab3e275429..93d8363db02bc17791ed3b11449246d058190119 100644
|
| --- a/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| +++ b/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| @@ -92,8 +92,7 @@ class WindowAdoptionAgent : protected aura::WindowObserver {
|
| }
|
|
|
| void FindNewParent() {
|
| - BrowserList* const browsers =
|
| - BrowserList::GetInstance(chrome::GetActiveDesktop());
|
| + BrowserList* const browsers = BrowserList::GetInstance();
|
| Browser* const active_browser =
|
| browsers ? browsers->GetLastActive() : nullptr;
|
| BrowserWindow* const active_window =
|
|
|