Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 75a5954b613f54faf30d1a2cd8d821f004ce3a7a..038bfc85e64e7425fde0e191965309f23fc756ca 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -1442,7 +1442,7 @@ DART_EXPORT void Dart_EnterIsolate(Dart_Isolate isolate) { |
CHECK_NO_ISOLATE(Isolate::Current()); |
// TODO(16615): Validate isolate parameter. |
Isolate* iso = reinterpret_cast<Isolate*>(isolate); |
- if (iso->mutator_thread() != NULL) { |
+ if (iso->HasMutatorThread()) { |
FATAL("Multiple mutators within one isolate is not supported."); |
} |
Thread::EnsureInit(); |