Index: runtime/observatory/lib/src/repositories/library.dart |
diff --git a/runtime/observatory/lib/src/repositories/object.dart b/runtime/observatory/lib/src/repositories/library.dart |
similarity index 62% |
copy from runtime/observatory/lib/src/repositories/object.dart |
copy to runtime/observatory/lib/src/repositories/library.dart |
index bd6d143b23e0760d55f97df032a2e79fcd1fdfa7..987097ed398f7e45b59f9567399ec1271d9dcbc2 100644 |
--- a/runtime/observatory/lib/src/repositories/object.dart |
+++ b/runtime/observatory/lib/src/repositories/library.dart |
@@ -4,12 +4,12 @@ |
part of repositories; |
-class ObjectRepository extends M.ObjectRepository { |
- ObjectRepository(); |
+class LibraryRepository extends M.LibraryRepository { |
+ LibraryRepository(); |
- Future<M.Object> get(M.IsolateRef i, String id) async{ |
+ Future<M.Library> get(M.IsolateRef i, String id) async{ |
S.Isolate isolate = i as S.Isolate; |
assert(isolate != null); |
- return (await isolate.getObject(id)) as S.HeapObject; |
+ return (await isolate.getObject(id)) as S.Library; |
} |
} |