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

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

Issue 1153193006: Standardize on using "kind" to distinguish sub-varieties of a type. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: doc changes Created 5 years, 7 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
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/app/application.dart
diff --git a/runtime/observatory/lib/src/app/application.dart b/runtime/observatory/lib/src/app/application.dart
index ef8d5748ec6546ab04803baee0b9f18617912cae..8c8e00e3ad8c1a2e66dfb73dfb7dde93b16bb004 100644
--- a/runtime/observatory/lib/src/app/application.dart
+++ b/runtime/observatory/lib/src/app/application.dart
@@ -85,7 +85,7 @@ class ObservatoryApplication extends Observable {
}
void _onEvent(ServiceEvent event) {
- switch(event.eventType) {
+ switch(event.kind) {
case ServiceEvent.kIsolateStart:
case ServiceEvent.kIsolateUpdate:
case ServiceEvent.kGraph:
@@ -209,7 +209,7 @@ class ObservatoryApplication extends Observable {
notifications.removeWhere((notification) {
var event = notification.event;
return (event != null &&
- event.eventType == ServiceEvent.kConnectionClosed);
+ event.kind == ServiceEvent.kConnectionClosed);
});
}
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698