Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2553)

Unified Diff: runtime/observatory/lib/src/repositories/sample_profile.dart

Issue 2920603003: Fix some observatory analysis issues. (Closed)
Patch Set: rebase obs analysis issues PR against master Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.dart ('k') | runtime/observatory/tests/service/auth_token1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698