| Index: base/allocator/allocator_shim.cc
|
| diff --git a/base/allocator/allocator_shim.cc b/base/allocator/allocator_shim.cc
|
| index 8801e4c9b47dc1b541c462fb6a3d2afd634d41cc..cbdffafd36ff0fea65bbe55fd3033906e101f262 100644
|
| --- a/base/allocator/allocator_shim.cc
|
| +++ b/base/allocator/allocator_shim.cc
|
| @@ -73,8 +73,6 @@ bool je_malloc_init_hard();
|
| void* je_memalign(size_t a, size_t s);
|
| }
|
|
|
| -extern "C" {
|
| -
|
| // Call the new handler, if one has been set.
|
| // Returns true on successfully calling the handler, false otherwise.
|
| inline bool call_new_handler(bool nothrow) {
|
| @@ -113,8 +111,10 @@ inline bool call_new_handler(bool nothrow) {
|
| return true;
|
| }
|
| #endif // (defined(__GNUC__) && !defined(__EXCEPTIONS)) || (defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS)
|
| + return false;
|
| }
|
|
|
| +extern "C" {
|
| void* malloc(size_t size) __THROW {
|
| void* ptr;
|
| for (;;) {
|
|
|