Chromium Code Reviews| Index: sdk/lib/isolate/base.dart |
| diff --git a/sdk/lib/isolate/base.dart b/sdk/lib/isolate/base.dart |
| index 73b550cff4cb825e1b40fd1f5dce01dae4968a27..d4b01b7900417ecea7451e81f86db72bd9a6fb71 100644 |
| --- a/sdk/lib/isolate/base.dart |
| +++ b/sdk/lib/isolate/base.dart |
| @@ -34,8 +34,8 @@ ReceivePort get port => _Isolate.port; |
| * See comments at the top of this library for more details. |
|
Søren Gjesse
2013/03/18 14:35:03
Maybe add some documentation on the unhandledExcep
floitsch
2013/03/18 19:07:10
Done.
|
| */ |
| SendPort spawnFunction(void topLevelFunction(), |
| - [bool UnhandledExceptionCallback(IsolateUnhandledException e)]) |
| - => _Isolate.spawnFunction(topLevelFunction, UnhandledExceptionCallback); |
| + [bool unhandledExceptionCallback(IsolateUnhandledException e)]) |
| + => _Isolate.spawnFunction(topLevelFunction, unhandledExceptionCallback); |
| /** |
| * Creates and spawns an isolate whose code is available at [uri]. Like with |
| @@ -171,7 +171,7 @@ abstract class SendPortSync { |
| abstract class _Isolate { |
| external static ReceivePort get port; |
| external static SendPort spawnFunction(void topLevelFunction(), |
| - [bool UnhandledExceptionCallback(IsolateUnhandledException e)]); |
| + [bool unhandledExceptionCallback(IsolateUnhandledException e)]); |
| external static SendPort spawnUri(String uri); |
| } |