зеркало из https://github.com/electron/electron.git
fix: devtools dock state with WCO on linux (#43500)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
Родитель
0fa92e0fea
Коммит
f7404bceea
|
@ -554,7 +554,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 =
|
||||
|
|
Загрузка…
Ссылка в новой задаче