Index: runtime/vm/object_graph_test.cc |
diff --git a/runtime/vm/object_graph_test.cc b/runtime/vm/object_graph_test.cc |
index 3e0259af1f04687c4bfe4d395fb02f0208ca24f4..1afcc4418b886f8629c0cfba1144ca4e06a7510a 100644 |
--- a/runtime/vm/object_graph_test.cc |
+++ b/runtime/vm/object_graph_test.cc |
@@ -65,7 +65,7 @@ TEST_CASE(ObjectGraph) { |
b = Array::null(); |
c = Array::null(); |
d = Array::null(); |
- ObjectGraph graph(isolate); |
+ ObjectGraph graph(thread); |
{ |
// Compare count and size when 'b' is/isn't skipped. |
CounterVisitor with(Object::null(), Object::null()); |
@@ -96,7 +96,7 @@ TEST_CASE(ObjectGraph) { |
b ^= a.At(10); |
c ^= b.At(0); |
b = Array::null(); |
- ObjectGraph graph(isolate); |
+ ObjectGraph graph(thread); |
// A retaining path should end like this: c <- b <- a <- ... |
{ |
HANDLESCOPE(thread); |