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

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: Merged with master 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
« no previous file with comments | « runtime/observatory/lib/src/repositories/sample_profile.dart ('k') | runtime/observatory/lib/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bc21be8ca177a58e2db11295e96751e0c35d21cd..525b1b7d1402b7e3ef217b6bb521bf87f984b884 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();
« no previous file with comments | « runtime/observatory/lib/src/repositories/sample_profile.dart ('k') | runtime/observatory/lib/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698