Index: runtime/observatory/lib/src/repositories/sample_profile.dart |
diff --git a/runtime/observatory/lib/src/repositories/sample_profile.dart b/runtime/observatory/lib/src/repositories/sample_profile.dart |
index 02d0f609d40d650055347d7e8a3770a9651c51d6..f2b6ee2f3cb8bfb3aa8f1acbe569c405c32fd8e2 100644 |
--- a/runtime/observatory/lib/src/repositories/sample_profile.dart |
+++ b/runtime/observatory/lib/src/repositories/sample_profile.dart |
@@ -70,7 +70,6 @@ class SampleProfileLoadingProgress extends M.SampleProfileLoadingProgress { |
.invokeRpc('_getCpuProfile', {'tags': _tagToString(tag)}); |
} else if (type == M.SampleProfileType.memory) { |
assert(owner is M.VM); |
- M.VM vm = owner as M.VM; |
response = await owner.invokeRpc( |
'_getNativeAllocationSamples', {'tags': _tagToString(tag)}); |
} else { |