diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Token.h b/Userland/Libraries/LibWeb/CSS/Parser/Token.h index e3b500459d..fbb6c5a1a7 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Token.h +++ b/Userland/Libraries/LibWeb/CSS/Parser/Token.h @@ -8,7 +8,6 @@ #pragma once #include -#include #include namespace Web::CSS::Parser { @@ -74,7 +73,7 @@ public: u32 delim() const { VERIFY(m_type == Type::Delim); - return *Utf8View(m_value.bytes_as_string_view()).begin(); + return *m_value.code_points().begin(); } FlyString const& string() const