diff options
Diffstat (limited to 'components/shared/constellation/structured_data/serializable.rs')
-rw-r--r-- | components/shared/constellation/structured_data/serializable.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/shared/constellation/structured_data/serializable.rs b/components/shared/constellation/structured_data/serializable.rs index abc05ad5758..22370087665 100644 --- a/components/shared/constellation/structured_data/serializable.rs +++ b/components/shared/constellation/structured_data/serializable.rs @@ -221,9 +221,9 @@ impl BlobImpl { } /// Construct a BlobImpl from a slice of a parent. - pub fn new_sliced(rel_pos: RelativePos, parent: BlobId, type_string: String) -> BlobImpl { + pub fn new_sliced(range: RelativePos, parent: BlobId, type_string: String) -> BlobImpl { let blob_id = BlobId::new(); - let blob_data = BlobData::Sliced(parent, rel_pos); + let blob_data = BlobData::Sliced(parent, range); BlobImpl { blob_id, type_string, |