Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index 1a5958354054a0122262db891fe386ebc4f78382..f91f11f74e38def29aed7e45a9dae7bb2297e870 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -79,10 +79,6 @@ |
#include "content/public/common/content_descriptors.h" |
#endif |
-#if defined(OS_MACOSX) |
-#include "base/allocator/allocator_interception_mac.h" |
-#endif |
- |
using tracked_objects::ThreadData; |
namespace content { |
@@ -563,14 +559,6 @@ |
connection_timeout = temp; |
} |
-#if defined(OS_MACOSX) |
- if (base::CommandLine::InitializedForCurrentProcess() && |
- base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableHeapProfiling)) { |
- base::allocator::PeriodicallyShimNewMallocZones(); |
- } |
-#endif |
- |
message_loop_->task_runner()->PostDelayedTask( |
FROM_HERE, base::Bind(&ChildThreadImpl::EnsureConnected, |
channel_connected_factory_->GetWeakPtr()), |