mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
fix: devtools dock state with WCO on linux (#43490)
This commit is contained in:
@@ -550,7 +550,7 @@ void InspectableWebContents::LoadCompleted() {
|
||||
prefs.FindString("currentDockState");
|
||||
base::RemoveChars(*current_dock_state, "\"", &dock_state_);
|
||||
}
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
||||
auto* api_web_contents = api::WebContents::From(GetWebContents());
|
||||
if (api_web_contents) {
|
||||
auto* win =
|
||||
|
||||
Reference in New Issue
Block a user