Index: base/stats_table_unittest.cc |
=================================================================== |
--- base/stats_table_unittest.cc (revision 12911) |
+++ base/stats_table_unittest.cc (working copy) |
@@ -280,11 +280,11 @@ |
EXPECT_EQ(0, table.GetCounterValue("c:foo")); |
// Test Decrement. |
- foo.Decrement(1); |
+ foo.Subtract(1); |
EXPECT_EQ(-1, table.GetCounterValue("c:foo")); |
- foo.Decrement(0); |
+ foo.Subtract(0); |
EXPECT_EQ(-1, table.GetCounterValue("c:foo")); |
- foo.Decrement(-1); |
+ foo.Subtract(-1); |
EXPECT_EQ(0, table.GetCounterValue("c:foo")); |
DeleteShmem(kTableName); |