Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: base/memory/discardable_memory_manager_unittest.cc

Issue 261993003: base: Use DiscardableMemoryManager on MacOSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/memory/discardable_memory_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/discardable_memory_manager_unittest.cc
diff --git a/base/memory/discardable_memory_manager_unittest.cc b/base/memory/discardable_memory_manager_unittest.cc
index c59d82e51695ef8531626faa8d1934cad74a62f0..408fc77029778b31e1782d1628a4e94e1de44678 100644
--- a/base/memory/discardable_memory_manager_unittest.cc
+++ b/base/memory/discardable_memory_manager_unittest.cc
@@ -44,7 +44,8 @@ class TestAllocationImpl : public internal::DiscardableMemoryManagerAllocation {
class DiscardableMemoryManagerTestBase {
public:
- DiscardableMemoryManagerTestBase() {
+ DiscardableMemoryManagerTestBase()
+ : manager_(64 * 1024 * 1024, 12 * 1024 * 1024) {
willchan no longer on Chromium 2014/05/05 22:39:28 Can you add a comment here for why you chose these
reveman 2014/05/06 14:26:46 Reduced the size of these constants and added a co
manager_.RegisterMemoryPressureListener();
}
« no previous file with comments | « base/memory/discardable_memory_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698