Index: runtime/vm/unit_test.cc |
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc |
index 26f673b7cd768c2832a4821a4547c6b4570a4171..cb7170f11c9afb2464138e9ff98b99b0e3cfe8b4 100644 |
--- a/runtime/vm/unit_test.cc |
+++ b/runtime/vm/unit_test.cc |
@@ -308,7 +308,7 @@ Dart_Handle TestCase::GetReloadErrorOrRootLibrary() { |
Isolate* isolate = Isolate::Current(); |
if (isolate->reload_context() != NULL && |
- isolate->reload_context()->has_error()) { |
+ isolate->reload_context()->reload_aborted()) { |
// Return a handle to the error. |
return Api::NewHandle(Thread::Current(), |
isolate->reload_context()->error()); |