aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp')
-rw-r--r--www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp b/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
index c31ac6c8c2c4..3c7526dc73b5 100644
--- a/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
+++ b/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
@@ -1,4 +1,4 @@
---- skia/ext/SkMemory_new_handler.cpp.orig 2021-04-14 18:41:08 UTC
+--- skia/ext/SkMemory_new_handler.cpp.orig 2022-02-07 13:39:41 UTC
+++ skia/ext/SkMemory_new_handler.cpp
@@ -78,7 +78,7 @@ static void* malloc_nothrow(size_t size) {
// TODO(b.kelemen): we should always use UncheckedMalloc but currently it
@@ -9,12 +9,3 @@
result = malloc(size);
#else
// It's the responsibility of the caller to check the return value.
-@@ -98,7 +98,7 @@ static void* calloc_nothrow(size_t size) {
- // TODO(b.kelemen): we should always use UncheckedCalloc but currently it
- // doesn't work as intended everywhere.
- void* result;
--#if defined(OS_IOS)
-+#if defined(OS_IOS) || defined(OS_BSD)
- result = calloc(1, size);
- #else
- // It's the responsibility of the caller to check the return value.