mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
LibWeb: Use explicit move to avoid unnecessary RefPtr ref / unref
This commit is contained in:
parent
2b57018196
commit
889ade06fe
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ void StyleProperties::load_font(Layout::Node const& node) const
|
|||
found_font = font_fallback(monospace, bold);
|
||||
}
|
||||
|
||||
m_font = found_font;
|
||||
m_font = move(found_font);
|
||||
FontCache::the().set(font_selector, *m_font);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue