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

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

Issue 823403004: Begin migrating the vm service from a rest-style interface to a json-rpc style interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove old-style standalone tests. 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/elements/library_view.dart
diff --git a/runtime/observatory/lib/src/elements/library_view.dart b/runtime/observatory/lib/src/elements/library_view.dart
index c5e1af22b6ce0a801c8486e663844754e7320ec5..4a83c16b93eb4c5399674422c3e27b217bb2e932 100644
--- a/runtime/observatory/lib/src/elements/library_view.dart
+++ b/runtime/observatory/lib/src/elements/library_view.dart
@@ -16,9 +16,8 @@ class LibraryViewElement extends ObservatoryElement {
LibraryViewElement.created() : super.created();
- Future<ServiceObject> eval(String text) {
- return library.isolate.get(
- library.id + "/eval?expr=${Uri.encodeComponent(text)}");
+ Future<ServiceObject> eval(String expression) {
+ return library.isolate.eval(library, expression);
}
void refresh(var done) {
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.dart ('k') | runtime/observatory/lib/src/elements/nav_bar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698