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

Unified Diff: runtime/observatory/lib/src/elements/heap_profile.dart

Issue 1090293003: Kill service_test.cc tests in favor of dart tests for the service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 years, 8 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/elements/heap_profile.dart
diff --git a/runtime/observatory/lib/src/elements/heap_profile.dart b/runtime/observatory/lib/src/elements/heap_profile.dart
index d826a48435b55032468dab5892ddea668144d310..bac6ba7ce40bffdadac43986d31eef65e9d2b7fd 100644
--- a/runtime/observatory/lib/src/elements/heap_profile.dart
+++ b/runtime/observatory/lib/src/elements/heap_profile.dart
@@ -284,14 +284,14 @@ class HeapProfileElement extends ObservatoryElement {
profile = null;
return;
}
- isolate.invokeRpc('getAllocationProfile', {}).then(_update);
+ isolate.invokeRpc('_getAllocationProfile', {}).then(_update);
}
void refresh(var done) {
if (isolate == null) {
return;
}
- isolate.invokeRpc('getAllocationProfile', {})
+ isolate.invokeRpc('_getAllocationProfile', {})
.then(_update).whenComplete(done);
}
@@ -299,7 +299,7 @@ class HeapProfileElement extends ObservatoryElement {
if (isolate == null) {
return;
}
- isolate.invokeRpc('getAllocationProfile', { 'gc': 'full' })
+ isolate.invokeRpc('_getAllocationProfile', { 'gc': 'full' })
.then(_update).whenComplete(done);
}
@@ -307,7 +307,7 @@ class HeapProfileElement extends ObservatoryElement {
if (isolate == null) {
return;
}
- isolate.invokeRpc('getAllocationProfile', { 'reset': 'true' })
+ isolate.invokeRpc('_getAllocationProfile', { 'reset': 'true' })
.then(_update).whenComplete(done);
}
« no previous file with comments | « runtime/observatory/lib/src/elements/heap_map.dart ('k') | runtime/observatory/lib/src/elements/object_common.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698