mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
refactor: add CanGc as argument to DataBlock::view (#35610)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
b0b0289014
commit
dd13342f18
3 changed files with 4 additions and 3 deletions
|
@ -429,7 +429,7 @@ impl DataBlock {
|
|||
}
|
||||
|
||||
/// Returns error if requested range is already mapped
|
||||
pub(crate) fn view(&mut self, range: Range<usize>) -> Result<&DataView, ()> {
|
||||
pub(crate) fn view(&mut self, range: Range<usize>, _can_gc: CanGc) -> Result<&DataView, ()> {
|
||||
if self
|
||||
.data_views
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue