aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_base_resource_resource__bundle.cc
blob: d6a04d544b8bf978c5fbd1babacb2aa90449bd75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/base/resource/resource_bundle.cc.orig	2024-05-21 18:07:39 UTC
+++ ui/base/resource/resource_bundle.cc
@@ -927,7 +927,7 @@ void ResourceBundle::ReloadFonts() {
 }
 
 ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
   return max_scale_factor_;
 #else
   return GetMaxSupportedResourceScaleFactor();