Index: runtime/observatory/lib/src/cpu_profile/cpu_profile.dart |
diff --git a/runtime/observatory/lib/src/cpu_profile/cpu_profile.dart b/runtime/observatory/lib/src/cpu_profile/cpu_profile.dart |
index 521fc192d323d6dac0914164bc65818e5058659d..1ce26489a63823acd61262e8d430f0735330f113 100644 |
--- a/runtime/observatory/lib/src/cpu_profile/cpu_profile.dart |
+++ b/runtime/observatory/lib/src/cpu_profile/cpu_profile.dart |
@@ -845,7 +845,7 @@ class CpuProfile extends M.SampleProfile { |
} |
if ((owner != null) && (owner is Isolate)) { |
- isolate = owner as Isolate; |
+ isolate = owner; |
isolate.resetCachedProfileData(); |
} |