diff --git a/common.gypi b/common.gypi index 745035c55..e900cc4a6 100644 --- a/common.gypi +++ b/common.gypi @@ -210,8 +210,8 @@ 'toolkit_views%': 0, }], - # Enable HiDPI on Mac OS, Chrome OS and Windows. - ['OS=="mac" or chromeos==1 or OS=="win"', { + # Enable HiDPI on Mac OS, Chrome OS, Windows and Linux. + ['OS=="mac" or chromeos==1 or OS=="win" or OS=="linux"', { 'enable_hidpi%': 1, }], diff --git a/config/ui.gni b/config/ui.gni index 9b662c48a..787e7ef27 100644 --- a/config/ui.gni +++ b/config/ui.gni @@ -62,4 +62,4 @@ use_ozone_evdev = use_ozone use_clipboard_aurax11 = is_linux && use_aura && use_x11 -enable_hidpi = is_mac || is_chromeos || is_win +enable_hidpi = is_mac || is_chromeos || is_win || is_linux