refactor: replace USE_X11 with OS_LINUX for sharing code with Ozone (#25522)

This commit is contained in:
Valentin Hăloiu 2020-09-21 02:11:59 +02:00 committed by GitHub
parent 137fc65e2f
commit efd003d277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 18 deletions

View file

@ -130,7 +130,7 @@ class CommonWebContentsDelegate : public content::WebContentsDelegate,
#if defined(TOOLKIT_VIEWS) && !defined(OS_MAC)
gfx::ImageSkia GetDevToolsWindowIcon() override;
#endif
#if defined(USE_X11)
#if defined(OS_LINUX)
void GetDevToolsWindowWMClass(std::string* name,
std::string* class_name) override;
#endif