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

Unified Diff: content/browser/memory/memory_monitor_linux_unittest.cc

Issue 2448923004: memory coordinator: Use free memory to guess available memory on Linux (Closed)
Patch Set: fix test expectation Created 4 years, 2 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 | « content/browser/memory/memory_monitor_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/memory_monitor_linux_unittest.cc
diff --git a/content/browser/memory/memory_monitor_linux_unittest.cc b/content/browser/memory/memory_monitor_linux_unittest.cc
index 3aa7306417f098ef1d4643b8f9ab463369b64846..7914b0f358f52f2807772f17dfd30307fbe69a6a 100644
--- a/content/browser/memory/memory_monitor_linux_unittest.cc
+++ b/content/browser/memory/memory_monitor_linux_unittest.cc
@@ -64,7 +64,7 @@ TEST_F(MemoryMonitorLinuxTest, GetFreeMemoryUntilCriticalMB) {
delegate_.ResetCalls();
delegate_.SetFreeMemoryKB(64 * kKBperMB, 32 * kKBperMB, 16 * kKBperMB);
- EXPECT_EQ(112, monitor_->GetFreeMemoryUntilCriticalMB());
+ EXPECT_EQ(64, monitor_->GetFreeMemoryUntilCriticalMB());
EXPECT_EQ(1U, delegate_.calls());
delegate_.ResetCalls();
« no previous file with comments | « content/browser/memory/memory_monitor_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698