mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove unnecessary fragment rect clone
This commit is contained in:
parent
4fd5484e1a
commit
c87a4dd788
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ impl Fragment {
|
|||
return;
|
||||
}
|
||||
|
||||
let mut common = builder.common_properties(rect.clone().to_webrender());
|
||||
let mut common = builder.common_properties(rect.to_webrender());
|
||||
common.hit_info = hit_info(&fragment.parent_style, fragment.tag, Cursor::Text);
|
||||
|
||||
let color = fragment.parent_style.clone_color();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue