chromium 11.0.969.72
[chromium.git] / patches / patch-chrome_browser_memory__purger.cc
1 $NetBSD$
2
3 --- chrome/browser/memory_purger.cc.orig        2011-04-13 08:01:44.000000000 +0000
4 +++ chrome/browser/memory_purger.cc
5 @@ -135,7 +135,7 @@ void MemoryPurger::PurgeBrowser() {
6    // * Purge AppCache memory.  Not yet implemented sufficiently.
7    // * Browser-side DatabaseTracker.  Not implemented sufficiently.
8  
9 -#if (defined(OS_WIN) || defined(OS_LINUX)) && defined(USE_TCMALLOC)
10 +#if (defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)) && defined(USE_TCMALLOC)
11    // Tell tcmalloc to release any free pages it's still holding.
12    //
13    // TODO(pkasting): A lot of the above calls kick off actions on other threads.