| Index: test/cctest/test-dictionary.cc
|
| diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc
|
| index aa1bc8623182fb9553d43cb4ad85b263ccadc4a2..fc2227f349beacee0853d0e283d6b8404d706e55 100644
|
| --- a/test/cctest/test-dictionary.cc
|
| +++ b/test/cctest/test-dictionary.cc
|
| @@ -187,7 +187,9 @@ static void TestHashSetCausesGC(Handle<HashSet> table) {
|
| CHECK(gc_count == isolate->heap()->gc_count());
|
|
|
| // Calling Remove() will not cause GC in this case.
|
| - table = HashSet::Remove(table, key);
|
| + bool was_present = false;
|
| + table = HashSet::Remove(table, key, &was_present);
|
| + CHECK(!was_present);
|
| CHECK(gc_count == isolate->heap()->gc_count());
|
|
|
| // Calling Add() should cause GC.
|
|
|