| Index: content/renderer/devtools/devtools_agent.cc
|
| ===================================================================
|
| --- content/renderer/devtools/devtools_agent.cc (revision 183102)
|
| +++ content/renderer/devtools/devtools_agent.cc (working copy)
|
| @@ -129,7 +129,7 @@
|
| Send(new DevToolsHostMsg_ClearBrowserCookies(routing_id()));
|
| }
|
|
|
| -#if defined(USE_TCMALLOC) && !defined(OS_WIN) && !defined(USE_SYSTEM_TCMALLOC)
|
| +#if defined(USE_TCMALLOC) && !defined(OS_WIN)
|
| static void AllocationVisitor(void* data, const void* ptr) {
|
| typedef WebKit::WebDevToolsAgentClient::AllocatedObjectVisitor Visitor;
|
| Visitor* visitor = reinterpret_cast<Visitor*>(data);
|
| @@ -138,7 +138,7 @@
|
| #endif
|
|
|
| void DevToolsAgent::visitAllocatedObjects(AllocatedObjectVisitor* visitor) {
|
| -#if defined(USE_TCMALLOC) && !defined(OS_WIN) && !defined(USE_SYSTEM_TCMALLOC)
|
| +#if defined(USE_TCMALLOC) && !defined(OS_WIN)
|
| IterateAllocatedObjects(&AllocationVisitor, visitor);
|
| #endif
|
| }
|
|
|