Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2072)

Unified Diff: content/child/child_thread_impl.cc

Issue 2802493002: Revert of mac: Periodically shim new malloc zones immediately after startup. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()),
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698