Index: runtime/vm/isolate_reload.cc |
diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc |
index 2a00a2366fae407cf4e3ac3c1320a40baef93bf3..faf44a1cff73c400c0b69d61980c37d8b94ee510 100644 |
--- a/runtime/vm/isolate_reload.cc |
+++ b/runtime/vm/isolate_reload.cc |
@@ -298,7 +298,7 @@ void IsolateReloadContext::RegisterClass(const Class& new_cls) { |
if (!old_cls.is_enum_class()) { |
new_cls.CopyCanonicalConstants(old_cls); |
} |
- new_cls.CopyCanonicalTypes(old_cls); |
+ new_cls.CopyCanonicalType(old_cls); |
AddBecomeMapping(old_cls, new_cls); |
AddClassMapping(new_cls, old_cls); |
} |