| Index: webkit/extensions/v8/heap_profiler_extension.cc
|
| ===================================================================
|
| --- webkit/extensions/v8/heap_profiler_extension.cc (revision 39977)
|
| +++ webkit/extensions/v8/heap_profiler_extension.cc (working copy)
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "base/basictypes.h"
|
|
|
| -#if defined(LINUX_USE_TCMALLOC)
|
| +#if defined(OS_LINUX) && defined(USE_TCMALLOC)
|
| #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h"
|
| #endif
|
|
|
| @@ -60,7 +60,7 @@
|
| return v8::Handle<v8::FunctionTemplate>();
|
| }
|
|
|
| -#if defined(LINUX_USE_TCMALLOC)
|
| +#if defined(OS_LINUX) && defined(USE_TCMALLOC)
|
| 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();
|
|
|