mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Changed to create immutable Vec
This commit is contained in:
parent
081b1e93a1
commit
3cfd65f5e1
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
let name = "compositor-task";
|
||||
// These are both `ExplicitUnknownLocationSize` because the memory might be in the
|
||||
// GPU or on the heap.
|
||||
let mut reports = vec![mem::Report {
|
||||
let reports = vec![mem::Report {
|
||||
path: path![name, "surface-map"],
|
||||
kind: ReportKind::ExplicitUnknownLocationSize,
|
||||
size: self.surface_map.mem(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue