| Index: runtime/observatory/lib/src/repositories/function.dart
|
| diff --git a/runtime/observatory/lib/src/repositories/objectstore.dart b/runtime/observatory/lib/src/repositories/function.dart
|
| similarity index 63%
|
| copy from runtime/observatory/lib/src/repositories/objectstore.dart
|
| copy to runtime/observatory/lib/src/repositories/function.dart
|
| index 7456d9a467fb8de15d35a817bd8862ce7f380469..2ab16821550cb2c12b125ac60839ba80096dd530 100644
|
| --- a/runtime/observatory/lib/src/repositories/objectstore.dart
|
| +++ b/runtime/observatory/lib/src/repositories/function.dart
|
| @@ -4,10 +4,10 @@
|
|
|
| part of repositories;
|
|
|
| -class ObjectStoreRepository implements M.ObjectStoreRepository {
|
| - Future<M.ObjectStore> get(M.IsolateRef i) async {
|
| +class FunctionRepository extends M.FunctionRepository {
|
| + Future<M.Function> get(M.IsolateRef i, String id) async{
|
| S.Isolate isolate = i as S.Isolate;
|
| assert(isolate != null);
|
| - return isolate.getObjectStore();
|
| + return (await isolate.getObject(id)) as S.ServiceFunction;
|
| }
|
| }
|
|
|