mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:37:43 +00:00
[gardening] Fix vm/cc/Service_PersistentHandles test
This test started failing after clang roll in commit
0e2d2e3c93
Closes https://github.com/dart-lang/sdk/issues/50249
TEST=Fixes vm/cc/Service_PersistentHandles
Change-Id: Ia8bf637caf452229f9a1b750229a829f856c9c72
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/264861
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
This commit is contained in:
parent
0b26f4816b
commit
4666dac4b2
|
@ -4904,7 +4904,7 @@ static void GetPersistentHandles(Thread* thread, JSONStream* js) {
|
|||
JSONArray persistent_handles(&obj, "persistentHandles");
|
||||
api_state->RunWithLockedPersistentHandles(
|
||||
[&](PersistentHandles& handles) {
|
||||
PersistentHandleVisitor<FinalizablePersistentHandle> visitor(
|
||||
PersistentHandleVisitor<PersistentHandle> visitor(
|
||||
thread, &persistent_handles);
|
||||
handles.Visit(&visitor);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue