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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2204563003: Converted Observatory cpu-profile element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added lifecycle tests Created 4 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/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index afd924048b1a1113b1f0117d1d6e6b08f5a27408..9978d47a7ca49f313a53c387d6d78f1066632032 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1855,10 +1855,10 @@ class ServiceMap extends ServiceObject implements ObservableMap {
M.ErrorKind stringToErrorKind(String value) {
switch(value) {
- case 'UnhandledException': return M.ErrorKind.UnhandledException;
- case 'LanguageError': return M.ErrorKind.UnhandledException;
- case 'InternalError': return M.ErrorKind.InternalError;
- case 'TerminationError': return M.ErrorKind.TerminationError;
+ case 'UnhandledException': return M.ErrorKind.unhandledException;
+ case 'LanguageError': return M.ErrorKind.unhandledException;
+ case 'InternalError': return M.ErrorKind.internalError;
+ case 'TerminationError': return M.ErrorKind.terminationError;
}
Logger.root.severe('Unrecognized error kind: $value');
throw new FallThroughError();

Powered by Google App Engine
This is Rietveld 408576698