Index: runtime/vm/heap.h |
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h |
index 759f3c37dfea3dc76cecaa285014917410d1aec7..be02da06bfa35843ba49e24394078214f94c946b 100644 |
--- a/runtime/vm/heap.h |
+++ b/runtime/vm/heap.h |
@@ -360,6 +360,8 @@ class Heap { |
friend class IsolateReloadContext; // VisitObjects |
friend class ClassFinalizer; // VisitObjects |
friend class HeapIterationScope; // VisitObjects |
+ friend class ProgramVisitor; // VisitObjectsImagePages |
+ friend class Serializer; // VisitObjectsImagePages |
DISALLOW_COPY_AND_ASSIGN(Heap); |
}; |