aboutsummaryrefslogblamecommitdiff
path: root/devel/electron23/files/patch-ui_base_resource_resource__bundle.cc
blob: e3290a7de75d04ae9c931ae394ccbbcd68d82782 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                            
--- ui/base/resource/resource_bundle.cc.orig	2023-02-01 18:43:51 UTC
+++ ui/base/resource/resource_bundle.cc
@@ -885,7 +885,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 GetSupportedResourceScaleFactors().back();