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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart

Issue 560503002: Add support for TokenStream, LocalVarDescriptors, and PcDescriptors to service lib and generic obje… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/bin/vmservice/observatory/lib/src/elements/object_common.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart b/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
index b1814e4acca48805e6681d9db0d53bdb864ef009..6079530b3bdb7cf7a577ff4f2dfc94616b5944d5 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
@@ -21,8 +21,8 @@ class ObjectCommonElement extends ObservatoryElement {
// TODO(koda): Add no-arg "calculate-link" instead of reusing "eval-link".
Future<ServiceObject> retainedSize(var dummy) {
return object.isolate.get(object.id + "/retained")
- .then((ServiceMap obj) {
- retainedBytes = int.parse(obj['valueAsString']);
+ .then((Instance obj) {
+ retainedBytes = int.parse(obj.valueAsString);
});
}

Powered by Google App Engine
This is Rietveld 408576698