mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove some useless clone() call on SpecifiedUrl::image_value.
This commit is contained in:
parent
72d09202f4
commit
14b708311b
3 changed files with 6 additions and 6 deletions
|
@ -150,7 +150,7 @@ impl MallocSizeOf for SpecifiedUrl {
|
|||
// Although this is a RefPtr, this is the primary reference because
|
||||
// SpecifiedUrl is responsible for creating the image_value. So we
|
||||
// measure unconditionally here.
|
||||
n += unsafe { Gecko_ImageValue_SizeOfIncludingThis(image_value.clone().get()) };
|
||||
n += unsafe { Gecko_ImageValue_SizeOfIncludingThis(image_value.get()) };
|
||||
}
|
||||
|
||||
n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue