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

Unified Diff: runtime/observatory/lib/src/app/page.dart

Issue 892913003: Rename the get* methods in preparation for removing them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one more test Created 5 years, 11 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/app/page.dart
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart
index 27b032559279bf719b8bd6bcd5ad992399858306..2942905e98bee4e17e776d2fec3193af08c2bd39 100644
--- a/runtime/observatory/lib/src/app/page.dart
+++ b/runtime/observatory/lib/src/app/page.dart
@@ -59,7 +59,7 @@ class ServiceObjectPage extends Page {
return;
}
/// Request url from VM and display it.
- app.vm.get(url).then((obj) {
+ app.vm.getDeprecated(url).then((obj) {
ServiceObjectViewElement serviceElement = element;
serviceElement.object = obj;
}).catchError((e) {
@@ -91,7 +91,7 @@ class IsolateSuffixPage extends Page {
}
Future<Isolate> getIsolate() {
- return app.vm.get(isolateId).catchError((e) {
+ return app.vm.getIsolate(isolateId).catchError((e) {
Logger.root.severe('$pagePrefix visit error: $e');
return e;
});
@@ -276,7 +276,7 @@ class MetricsPage extends Page {
void _visit(String url) {
assert(element != null);
assert(canVisit(url));
- app.vm.get(_isolateId(url)).then((i) {
+ app.vm.getIsolate(_isolateId(url)).then((i) {
(element as MetricsPageElement).isolate = i;
});
}
« no previous file with comments | « runtime/observatory/lib/service_common.dart ('k') | runtime/observatory/lib/src/elements/inbound_reference.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698