$OpenBSD: patch-skia_ext_SkMemory_new_handler_cpp,v 1.10 2019/04/17 11:48:54 robert Exp $

Index: skia/ext/SkMemory_new_handler.cpp
--- skia/ext/SkMemory_new_handler.cpp.orig
+++ skia/ext/SkMemory_new_handler.cpp
@@ -77,7 +77,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);
 #else
     // It's the responsibility of the caller to check the return value.
