AddIncognitoBrowser removed from BrowserList
Just use `AddBrowser`, as it can deduce that the browser in question is incognito based on the browser state it was created with. Chromium change: https://chromium.googlesource.com/chromium/src/+/2fb769fc7d101f10e18c447cfe1eedcb25655516 commit 2fb769fc7d101f10e18c447cfe1eedcb25655516 Author: Gauthier Ambard <gambard@chromium.org> Date: Thu Jul 4 12:39:27 2024 +0000 [iOS] Differentiate inactive browser in the BrowserList This CL makes sure to differentiate between the inactive and active regular browsers in the BrowserList. Fixed: 349074585
This commit is contained in:
@@ -233,7 +233,7 @@ const BraveCoreLogSeverity BraveCoreLogSeverityVerbose =
|
||||
_otr_browserList =
|
||||
BrowserListFactory::GetForBrowserState(otrChromeBrowserState);
|
||||
_otr_browser = Browser::Create(otrChromeBrowserState, {});
|
||||
_otr_browserList->AddIncognitoBrowser(_otr_browser.get());
|
||||
_otr_browserList->AddBrowser(_otr_browser.get());
|
||||
|
||||
// Initialize the provider UI global state.
|
||||
ios::provider::InitializeUI();
|
||||
|
||||
Reference in New Issue
Block a user