blob: abd8c6af7036f5bd705fadcae03a84d7e21f0b75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2025-07-02 15:59:39 UTC
+++ electron/shell/browser/ui/inspectable_web_contents.cc
@@ -548,7 +548,7 @@ void InspectableWebContents::LoadCompleted() {
prefs.FindString("currentDockState");
base::RemoveChars(*current_dock_state, "\"", &dock_state_);
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
auto* api_web_contents = api::WebContents::From(GetWebContents());
if (api_web_contents) {
auto* win =
|