Index: runtime/vm/snapshot.h |
diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h |
index 14360a4de7ba0d12c88d3d989791a85f2b25c2e4..eebbac74503bc4d17a9bc0a257b94bb77967b7dc 100644 |
--- a/runtime/vm/snapshot.h |
+++ b/runtime/vm/snapshot.h |
@@ -716,7 +716,7 @@ class BaseWriter : public StackResource { |
BaseWriter(uint8_t** buffer, |
ReAlloc alloc, |
intptr_t initial_size) |
- : StackResource(Isolate::Current()), |
+ : StackResource(Thread::Current()), |
stream_(buffer, alloc, initial_size) { |
ASSERT(buffer != NULL); |
ASSERT(alloc != NULL); |