Commit faaf6818 authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

cppgc: Fix compilation on gcc

Currently getting the following 2 errors:
```
error: reference to 'MarkingType' is ambiguous
error: reference to 'SweepingType' is ambiguous
```

Change-Id: Ia50d1b5ea8af0fcc85acb9c0dc5cfae1956cec62
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3540624Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#79556}
parent 3c03e3fc
......@@ -412,8 +412,8 @@ TEST_F(PrefinalizerTest, GCBeforePrefinalizerRegistration) {
internal::Heap::From(GetHeap())->CollectGarbage(
{internal::GarbageCollector::Config::CollectionType::kMajor,
cppgc::Heap::StackState::kMayContainHeapPointers,
Heap::MarkingType::kAtomic,
Heap::SweepingType::kIncrementalAndConcurrent,
cppgc::Heap::MarkingType::kAtomic,
cppgc::Heap::SweepingType::kIncrementalAndConcurrent,
internal::GarbageCollector::Config::FreeMemoryHandling::
kDiscardWherePossible,
internal::GarbageCollector::Config::IsForcedGC::kForced});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment