Index: runtime/observatory/lib/src/service/object.dart |
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
index ef744b978320dfdb2a98ce3f87dadc5b04b75195..57955e22129be33594ae719ce09ebb3641522a4e 100644 |
--- a/runtime/observatory/lib/src/service/object.dart |
+++ b/runtime/observatory/lib/src/service/object.dart |
@@ -391,7 +391,7 @@ abstract class HeapObject extends ServiceObject { |
// Load the full class object if the isolate is runnable. |
if (clazz != null) { |
- if (clazz.owner.runnable) { |
+ if (clazz.isolate.runnable) { |
clazz.load(); |
} |
} |