diff options
author | peria@chromium.org <peria@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-11 11:17:48 +0000 |
---|---|---|
committer | peria@chromium.org <peria@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-11 11:17:48 +0000 |
commit | 8e9ead8551868b6c66188f9a852ab4b5c6917789 (patch) | |
tree | a757c1afe18c77764ec2c1b40296ec94cd4c045a /webkit/child | |
parent | fc4743ad25260e7c4c64ce4060c141a526a4a287 (diff) | |
download | chromium_src-8e9ead8551868b6c66188f9a852ab4b5c6917789.zip chromium_src-8e9ead8551868b6c66188f9a852ab4b5c6917789.tar.gz chromium_src-8e9ead8551868b6c66188f9a852ab4b5c6917789.tar.bz2 |
Enable tcmalloc heap-profiler module on Windows.
This CL only enables heap-profiler in static build
on Windows.
With this CL, heap-profiler does not work fully.
It outputs following information.
- memory mapped files and their address regions
- stack traces of malloc() calls
Reference CL: http://crrev.com/11415113/
BUG=159993
Review URL: https://codereview.chromium.org/96153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/child')
-rw-r--r-- | webkit/child/webkitplatformsupport_impl.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/child/webkitplatformsupport_impl.cc b/webkit/child/webkitplatformsupport_impl.cc index 137a2b3..5b70672 100644 --- a/webkit/child/webkitplatformsupport_impl.cc +++ b/webkit/child/webkitplatformsupport_impl.cc @@ -43,7 +43,6 @@ #include "third_party/WebKit/public/platform/WebVector.h" #include "third_party/WebKit/public/web/WebFrameClient.h" #include "third_party/WebKit/public/web/WebInputEvent.h" -#include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" #include "ui/base/layout.h" #include "webkit/child/webkit_child_helpers.h" #include "webkit/child/websocketstreamhandle_impl.h" @@ -54,6 +53,10 @@ #include "base/android/sys_utils.h" #endif +#if !defined(NO_TCMALLOC) && defined(USE_TCMALLOC) && !defined(OS_WIN) +#include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" +#endif + using blink::WebAudioBus; using blink::WebCookie; using blink::WebData; |