Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index c7749e2db0cabb47618aa3bf3e90a13655039b5c..500afc84f0191ac7d368cec97ad1cc70599d4d02 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1605,8 +1605,7 @@ class FinalizeWeakPersistentHandlesVisitor : public HandleVisitor { |
void VisitHandle(uword addr) { |
FinalizablePersistentHandle* handle = |
reinterpret_cast<FinalizablePersistentHandle*>(addr); |
- FinalizationQueue* queue = NULL; // Finalize in the foreground. |
- handle->UpdateUnreachable(thread()->isolate(), queue); |
+ handle->UpdateUnreachable(thread()->isolate()); |
} |
private: |