| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 0a847f5060e4d93921f2c7a50a40b1400439ced5..c7246dc071dbdd081504bac74e603ccb591901ce 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -9864,7 +9864,7 @@ static int GetGlobalObjectsCount() {
|
| i::Isolate::Current()->heap()->EnsureHeapIsIterable();
|
| int count = 0;
|
| i::HeapIterator it;
|
| - for (i::HeapObject* object = it.Next(); object != NULL; object = it.Next())
|
| + for (i::HeapObject* object = it.next(); object != NULL; object = it.next())
|
| if (object->IsJSGlobalObject()) count++;
|
| return count;
|
| }
|
|
|