| Index: test/cctest/test-dictionary.cc
|
| diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc
|
| index fc2227f349beacee0853d0e283d6b8404d706e55..a21263cf41d17859b10d640a59992eff015766fe 100644
|
| --- a/test/cctest/test-dictionary.cc
|
| +++ b/test/cctest/test-dictionary.cc
|
| @@ -64,8 +64,7 @@ static void TestHashMap(Handle<HashMap> table) {
|
| CHECK_EQ(table->NumberOfElements(), 1);
|
| CHECK_NE(table->Lookup(a), *b);
|
|
|
| - // Keys mapped to the hole should be removed permanently.
|
| - table = HashMap::Put(table, a, factory->the_hole_value());
|
| + table = HashMap::Remove(table, a);
|
| CHECK_EQ(table->NumberOfElements(), 0);
|
| CHECK_EQ(table->Lookup(a), CcTest::heap()->the_hole_value());
|
|
|
|
|