diff options
author | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 04:08:14 +0000 |
---|---|---|
committer | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 04:08:14 +0000 |
commit | f5d01f28f7303a06df34324e0549e6d591c5088e (patch) | |
tree | fb54447770d34686b2c26e4575a1f952463c7b87 /webkit/extensions | |
parent | de61d5f521eb7489a6ec82048fc63f51ef98ece6 (diff) | |
download | chromium_src-f5d01f28f7303a06df34324e0549e6d591c5088e.zip chromium_src-f5d01f28f7303a06df34324e0549e6d591c5088e.tar.gz chromium_src-f5d01f28f7303a06df34324e0549e6d591c5088e.tar.bz2 |
webkit/ ifdefs for BSD port; based on sprewell@jaggeri.com patch
Review URL: http://codereview.chromium.org/1483001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/extensions')
-rw-r--r-- | webkit/extensions/v8/heap_profiler_extension.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/extensions/v8/heap_profiler_extension.cc b/webkit/extensions/v8/heap_profiler_extension.cc index d51d4108..ab20380 100644 --- a/webkit/extensions/v8/heap_profiler_extension.cc +++ b/webkit/extensions/v8/heap_profiler_extension.cc @@ -6,7 +6,7 @@ #include "base/basictypes.h" -#if defined(OS_LINUX) && defined(USE_TCMALLOC) +#if defined(USE_TCMALLOC) && !defined(OS_WIN) #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h" #endif @@ -60,7 +60,7 @@ class HeapProfilerWrapper : public v8::Extension { return v8::Handle<v8::FunctionTemplate>(); } -#if defined(OS_LINUX) && defined(USE_TCMALLOC) +#if defined(USE_TCMALLOC) && !defined(OS_WIN) static v8::Handle<v8::Value> HeapProfilerStart(const v8::Arguments& args) { if (args.Length() >= 1 && args[0]->IsString()) { v8::Local<v8::String> js_prefix = args[0]->ToString(); |