Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 62a61d5d9df7dcfd8ea65c3c84f7acb3d23b1ffc..2ff0d729a1a56ebd6b87902d1a26670953a1ac94 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -616,7 +616,7 @@ void BaseIsolate::AssertCurrent(BaseIsolate* isolate) { |
void BaseIsolate::AssertCurrentThreadIsMutator() const { |
ASSERT(Isolate::Current() == this); |
- ASSERT(Isolate::Current()->mutator_thread() == Thread::Current()); |
+ ASSERT(Isolate::Current()->MutatorThreadIsCurrentThread()); |
} |
#endif // defined(DEBUG) |