Remove some useless clone() call on SpecifiedUrl::image_value.

This commit is contained in:
Xidorn Quan 2018-03-08 21:31:04 +11:00
parent 72d09202f4
commit 14b708311b
3 changed files with 6 additions and 6 deletions

View file

@ -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