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

Unified Diff: content/app/content_main_runner.cc

Issue 1331973002: Remove clang type profiler and deep memory profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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 | « chrome/chrome_exe.gypi ('k') | third_party/tcmalloc/chromium/src/deep-heap-profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index f35ed299817fee22c9f6feb56c313f1a7da49ab2..7e6d6dbe6356a8d53d62b702117fb7ab437ea50a 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -60,10 +60,6 @@
#if defined(USE_TCMALLOC)
#include "third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h"
-#if defined(TYPE_PROFILING)
-#include "base/allocator/type_profiler.h"
-#include "base/allocator/type_profiler_tcmalloc.h"
-#endif
#endif
#if !defined(OS_IOS)
@@ -464,13 +460,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
// implement this EnableTerminationOnOutOfMemory() function. Whateverz.
// This works for now.
#if !defined(OS_MACOSX) && defined(USE_TCMALLOC)
-
-#if defined(TYPE_PROFILING)
- base::type_profiler::InterceptFunctions::SetFunctions(
- base::type_profiler::NewInterceptForTCMalloc,
- base::type_profiler::DeleteInterceptForTCMalloc);
-#endif
-
// For tcmalloc, we need to tell it to behave like new.
tc_set_new_mode(1);
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | third_party/tcmalloc/chromium/src/deep-heap-profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698