diff options
author | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 06:00:22 +0000 |
---|---|---|
committer | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 06:00:22 +0000 |
commit | 723182b58392bf2b11b28cfe5be5dbc7c839965f (patch) | |
tree | ad011d91d99611be424e30a1ef67fcb8bb2540a4 /third_party/tcmalloc/chromium/src | |
parent | 0ad1eb652713969c80c31eec00e509eb8b3b66aa (diff) | |
download | chromium_src-723182b58392bf2b11b28cfe5be5dbc7c839965f.zip chromium_src-723182b58392bf2b11b28cfe5be5dbc7c839965f.tar.gz chromium_src-723182b58392bf2b11b28cfe5be5dbc7c839965f.tar.bz2 |
Fix the compile error in case of linux_use_heapchecker==1.
BUG=181517
TBR=willchan@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/12803009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc/chromium/src')
-rw-r--r-- | third_party/tcmalloc/chromium/src/heap-checker.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/tcmalloc/chromium/src/heap-checker.cc b/third_party/tcmalloc/chromium/src/heap-checker.cc index ae69c7b..1400c8e 100644 --- a/third_party/tcmalloc/chromium/src/heap-checker.cc +++ b/third_party/tcmalloc/chromium/src/heap-checker.cc @@ -2209,7 +2209,8 @@ void HeapLeakChecker::BeforeConstructorsLocked() { Allocator::Init(); RAW_CHECK(heap_profile == NULL, ""); heap_profile = new(Allocator::Allocate(sizeof(HeapProfileTable))) - HeapProfileTable(&Allocator::Allocate, &Allocator::Free); + HeapProfileTable(&Allocator::Allocate, &Allocator::Free, + /* profile_mmap */ false); RAW_VLOG(10, "Starting tracking the heap"); heap_checker_on = true; } |