Index: runtime/vm/raw_object_snapshot.cc |
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc |
index 1cefa03f4b5daf0745cce757ca2151f31145026d..0ca54d8f33c2282146cd312db1cc2547aa36f4cf 100644 |
--- a/runtime/vm/raw_object_snapshot.cc |
+++ b/runtime/vm/raw_object_snapshot.cc |
@@ -2293,7 +2293,7 @@ RawInstance* Instance::ReadFrom(SnapshotReader* reader, |
Instance::InstanceSize(), |
HEAP_SPACE(kind)); |
if (RawObject::IsCanonical(tags)) { |
- obj = obj.CheckAndCanonicalize(reader->thread(), NULL); |
+ obj = obj.CheckAndCanonicalize(NULL); |
} |
} |
reader->AddBackRef(object_id, &obj, kIsDeserialized); |
@@ -2404,7 +2404,7 @@ RawBigint* Bigint::ReadFrom(SnapshotReader* reader, |
// Set the canonical bit. |
obj.SetCanonical(); |
} else { |
- obj ^= obj.CheckAndCanonicalize(reader->thread(), NULL); |
+ obj ^= obj.CheckAndCanonicalize(NULL); |
ASSERT(!obj.IsNull()); |
ASSERT(obj.IsCanonical()); |
} |
@@ -2831,7 +2831,7 @@ RawImmutableArray* ImmutableArray::ReadFrom(SnapshotReader* reader, |
if (kind == Snapshot::kFull) { |
array->SetCanonical(); |
} else { |
- *array ^= array->CheckAndCanonicalize(reader->thread(), NULL); |
+ *array ^= array->CheckAndCanonicalize(NULL); |
} |
} |
} |
@@ -3247,7 +3247,7 @@ RawTypedData* TypedData::ReadFrom(SnapshotReader* reader, |
// Set the canonical bit. |
result.SetCanonical(); |
} else { |
- result ^= result.CheckAndCanonicalize(reader->thread(), NULL); |
+ result ^= result.CheckAndCanonicalize(NULL); |
ASSERT(!result.IsNull()); |
ASSERT(result.IsCanonical()); |
} |