Index: runtime/vm/snapshot_test.cc |
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc |
index b314513a54a10491ef9457589e9a61827a29161e..23c687af4bc575d4dcf1a67db51e147f2a3751f8 100644 |
--- a/runtime/vm/snapshot_test.cc |
+++ b/runtime/vm/snapshot_test.cc |
@@ -863,7 +863,7 @@ class TestSnapshotWriter : public SnapshotWriter { |
kInitialSize, |
&forward_list_, |
true), |
- forward_list_(SnapshotWriter::FirstObjectId()) { |
+ forward_list_(kMaxPredefinedObjectIds) { |
ASSERT(buffer != NULL); |
ASSERT(alloc != NULL); |
} |
@@ -1582,8 +1582,7 @@ TEST_CASE(IntArrayMessage) { |
ApiNativeScope scope; |
ApiMessageReader api_reader(buffer, |
writer.BytesWritten(), |
- &zone_allocator, |
- false); |
+ &zone_allocator); |
Dart_CObject* root = api_reader.ReadMessage(); |
EXPECT_EQ(Dart_CObject_kArray, root->type); |
EXPECT_EQ(kArrayLength, root->value.as_array.length); |