From 41b8fdca5c53a41eabdad9a6a75b45bda4a6f37b Mon Sep 17 00:00:00 2001 From: Robo Date: Thu, 29 Aug 2024 09:17:00 +0900 Subject: [PATCH] fix: devtools dock state with WCO on linux (#43490) --- shell/browser/ui/inspectable_web_contents.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/ui/inspectable_web_contents.cc b/shell/browser/ui/inspectable_web_contents.cc index d755bbbfbddf..19c18f00a675 100644 --- a/shell/browser/ui/inspectable_web_contents.cc +++ b/shell/browser/ui/inspectable_web_contents.cc @@ -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 =