diff --git a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp index 6072a570b97..bfc71f75fea 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp @@ -190,9 +190,6 @@ ErrorOr> FontLoader::try_load_font() } } - auto ttf = Gfx::Typeface::try_load_from_externally_owned_memory(resource()->encoded_data()); - if (!ttf.is_error()) - return ttf.release_value(); return Error::from_string_literal("Automatic format detection failed"); }