Index: test/cctest/test-api-interceptors.cc |
diff --git a/test/cctest/test-api-interceptors.cc b/test/cctest/test-api-interceptors.cc |
index 9b0f1cd408715bed7bb789dc7e7446d5061c5722..b875a9611a677ec3d05e59d2631ce6ebc6955bf3 100644 |
--- a/test/cctest/test-api-interceptors.cc |
+++ b/test/cctest/test-api-interceptors.cc |
@@ -360,7 +360,7 @@ void InterceptorHasOwnPropertyGetter( |
void InterceptorHasOwnPropertyGetterGC( |
Local<Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) { |
ApiTestFuzzer::Fuzz(); |
- CcTest::heap()->CollectAllGarbage(); |
+ CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask); |
} |
} // namespace |