Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 8c6c135dee9e623a46170ce85cabbe1c64f52f37..94ac65b86bbffa1d38d70d554b86cf8e32595805 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -718,7 +718,7 @@ void BaseIsolate::AssertCurrent(BaseIsolate* isolate) { |
void BaseIsolate::AssertCurrentThreadIsMutator() const { |
ASSERT(Isolate::Current() == this); |
- ASSERT(Isolate::Current()->MutatorThreadIsCurrentThread()); |
+ ASSERT(Thread::Current()->IsMutatorThread()); |
} |
#endif // defined(DEBUG) |