refactor: replace USE_X11 with OS_LINUX for sharing code with Ozone (#25522)
This commit is contained in:
parent
137fc65e2f
commit
efd003d277
9 changed files with 18 additions and 18 deletions
|
@ -186,7 +186,7 @@ void InspectableWebContentsViewViews::SetIsDocked(bool docked, bool activate) {
|
|||
params.delegate = devtools_window_delegate_;
|
||||
params.bounds = inspectable_web_contents()->GetDevToolsBounds();
|
||||
|
||||
#if defined(USE_X11)
|
||||
#if defined(OS_LINUX)
|
||||
params.wm_role_name = "devtools";
|
||||
if (GetDelegate())
|
||||
GetDelegate()->GetDevToolsWindowWMClass(¶ms.wm_class_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue