Index: chrome/renderer/render_thread.cc |
=================================================================== |
--- chrome/renderer/render_thread.cc (revision 33615) |
+++ chrome/renderer/render_thread.cc (working copy) |
@@ -573,7 +573,7 @@ |
if (!widget_count_ || hidden_widget_count_ < widget_count_) |
return; |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && defined(USE_TCMALLOC) |
MallocExtension::instance()->ReleaseFreeMemory(); |
#endif |
@@ -628,7 +628,7 @@ |
while (!v8::V8::IdleNotification()) { |
} |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && defined(USE_TCMALLOC) |
// Tell tcmalloc to release any free pages it's still holding. |
MallocExtension::instance()->ReleaseFreeMemory(); |
#endif |