aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp')
-rw-r--r--www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp b/www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp
index edd5d55fa27c..50204f41131a 100644
--- a/www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp
+++ b/www/iridium/files/patch-skia_ext_SkMemory__new__handler.cpp
@@ -1,11 +1,11 @@
---- skia/ext/SkMemory_new_handler.cpp.orig 2022-03-28 18:11:04 UTC
+--- skia/ext/SkMemory_new_handler.cpp.orig 2022-04-01 07:48:30 UTC
+++ skia/ext/SkMemory_new_handler.cpp
-@@ -78,7 +78,7 @@ static void* malloc_nothrow(size_t size) {
+@@ -79,7 +79,7 @@ static void* malloc_nothrow(size_t size) {
// TODO(b.kelemen): we should always use UncheckedMalloc but currently it
// doesn't work as intended everywhere.
void* result;
--#if defined(OS_IOS)
-+#if defined(OS_IOS) || defined(OS_BSD)
- result = malloc(size);
+-#if BUILDFLAG(IS_IOS)
++#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
+ result = malloc(size);
#else
- // It's the responsibility of the caller to check the return value.
+ // It's the responsibility of the caller to check the return value.