mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibWeb: Move FontCache into the Web namespace
This commit is contained in:
parent
6267037a74
commit
c98829f7c9
2 changed files with 16 additions and 7 deletions
|
@ -8,6 +8,8 @@
|
|||
#include <LibGfx/Font/Font.h>
|
||||
#include <LibWeb/FontCache.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
RefPtr<Gfx::Font const> FontCache::get(FontSelector const& font_selector) const
|
||||
{
|
||||
auto cached_font = m_fonts.get(font_selector);
|
||||
|
@ -36,3 +38,5 @@ void FontCache::set(FontSelector const& font_selector, NonnullRefPtr<Gfx::Font c
|
|||
{
|
||||
m_fonts.set(font_selector, move(font));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue