Index: runtime/vm/object_graph.cc |
diff --git a/runtime/vm/object_graph.cc b/runtime/vm/object_graph.cc |
index 89f2dd8a2209600de505cbb5cb12b7f938568467..cd9fdeef36e5b67626e3bdb59d89f3f2fd07f9b1 100644 |
--- a/runtime/vm/object_graph.cc |
+++ b/runtime/vm/object_graph.cc |
@@ -149,7 +149,7 @@ class Unmarker : public ObjectVisitor { |
static void UnmarkAll(Isolate* isolate) { |
Unmarker unmarker; |
- isolate->heap()->VisitObjectsNoExternalPages(&unmarker); |
+ isolate->heap()->VisitObjectsNoImagePages(&unmarker); |
} |
private: |
@@ -213,7 +213,7 @@ void ObjectGraph::IterateObjectsFrom(intptr_t class_id, |
Stack stack(isolate()); |
InstanceAccumulator accumulator(&stack, class_id); |
- isolate()->heap()->VisitObjectsNoExternalPages(&accumulator); |
+ isolate()->heap()->VisitObjectsNoImagePages(&accumulator); |
stack.TraverseGraph(visitor); |
Unmarker::UnmarkAll(isolate()); |