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

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

Issue 511413002: Revert "Give instances their own model class; move DartErrors out of instance-ref into their own er… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/inbound_reference.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart b/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart
index 436c7b551b842fc904da1041174253c4149febe9..9efa1bf63cc5bf325259f8fa291c73aa12fd63a5 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart
@@ -11,7 +11,6 @@ import 'service_ref.dart';
@CustomTag('inbound-reference')
class InboundReferenceElement extends ServiceRefElement {
- @published ObservableMap ref;
InboundReferenceElement.created() : super.created();
dynamic get slot => (ref as ServiceMap)['slot'];
@@ -41,7 +40,9 @@ class InboundReferenceElement extends ServiceRefElement {
notifyPropertyChange(#ref, 0, 1);
}).whenComplete(done);
} else {
- inboundReferences = null;
+ ServiceMap refMap = ref;
+ refMap['fields'] = null;
+ refMap['elements'] = null;
done();
}
}

Powered by Google App Engine
This is Rietveld 408576698