mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
11 lines
498 B
C++
11 lines
498 B
C++
--- ui/base/resource/resource_bundle.cc.orig 2023-02-08 09:03:45 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();
|