diff options
Diffstat (limited to 'www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc')
-rw-r--r-- | www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc b/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc index 3538ed75dd55..dfc0276f9c00 100644 --- a/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc +++ b/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc @@ -1,15 +1,15 @@ ---- services/screen_ai/public/cpp/utilities.cc.orig 2024-08-26 14:40:28 UTC +--- services/screen_ai/public/cpp/utilities.cc.orig 2025-09-10 13:22:16 UTC +++ services/screen_ai/public/cpp/utilities.cc -@@ -18,7 +18,7 @@ namespace screen_ai { - - namespace { +@@ -21,7 +21,7 @@ namespace { + // The maximum image dimension which is processed without downsampling by OCR. + constexpr uint32_t kMaxImageDimensionForOcr = 2048; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) constexpr char kBinaryPathSwitch[] = "screen-ai-binary"; #endif -@@ -39,7 +39,7 @@ constexpr char kScreenAIDlcRootPath[] = +@@ -42,7 +42,7 @@ constexpr char kScreenAIDlcRootPath[] = #endif #if BUILDFLAG(ENABLE_SCREEN_AI_BROWSERTESTS) @@ -18,7 +18,7 @@ constexpr base::FilePath::CharType kScreenAIResourcePathForTests[] = FILE_PATH_LITERAL("third_party/screen-ai/linux/resources"); #elif BUILDFLAG(IS_MAC) -@@ -128,7 +128,7 @@ base::FilePath GetComponentBinaryPathForTests() { +@@ -131,7 +131,7 @@ base::FilePath GetComponentBinaryPathForTests() { const char* GetBinaryPathSwitch() { // This is only used on Linux and ChromeOS. |