| Index: base/allocator/debugallocation_shim.cc | 
| diff --git a/base/test/main_hook.cc b/base/allocator/debugallocation_shim.cc | 
| similarity index 51% | 
| copy from base/test/main_hook.cc | 
| copy to base/allocator/debugallocation_shim.cc | 
| index f1f196160d52da36db7a34ac3e9c8c8e7d17a19c..d1cf52a23ea9f181fa92d3880837b8e2fd1c784f 100644 | 
| --- a/base/test/main_hook.cc | 
| +++ b/base/allocator/debugallocation_shim.cc | 
| @@ -2,8 +2,8 @@ | 
| // Use of this source code is governed by a BSD-style license that can be | 
| // found in the LICENSE file. | 
|  | 
| -#include "base/test/main_hook.h" | 
| - | 
| -#if !defined(OS_IOS) | 
| -MainHook::MainHook(MainType main_func, int argc, char* argv[]) {} | 
| +#if defined(TCMALLOC_FOR_DEBUGALLOCATION) | 
| +#include "third_party/tcmalloc/chromium/src/debugallocation.cc" | 
| +#else | 
| +#include "third_party/tcmalloc/chromium/src/tcmalloc.cc" | 
| #endif | 
|  |