Index: runtime/vm/object_store.h |
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h |
index 2cab02ba46bdd3093ab4afb09cc572a87c91c54b..92be955561599b0c55c3689fe4305c23b3f32d5f 100644 |
--- a/runtime/vm/object_store.h |
+++ b/runtime/vm/object_store.h |
@@ -478,9 +478,9 @@ class ObjectStore { |
void VisitObjectPointers(ObjectPointerVisitor* visitor); |
// Called to initialize objects required by the vm but which invoke |
- // dart code. If an error occurs then false is returned and error |
- // information is stored in Thread::sticky_error(). |
- bool PreallocateObjects(); |
+ // dart code. If an error occurs the error object is returned otherwise |
+ // a null object is returned. |
+ RawError* PreallocateObjects(); |
void InitKnownObjects(); |