mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Meta: Make embed_as_string_view.py produce Strings instead
This is only used for CSS style sheets. One case wants it as a String, and the others don't care, but will in future also want to have the source as a String.
This commit is contained in:
@@ -592,8 +592,8 @@ void ViewImplementation::set_user_style_sheet(String source)
|
||||
|
||||
void ViewImplementation::use_native_user_style_sheet()
|
||||
{
|
||||
extern StringView native_stylesheet_source;
|
||||
set_user_style_sheet(MUST(String::from_utf8(native_stylesheet_source)));
|
||||
extern String native_stylesheet_source;
|
||||
set_user_style_sheet(native_stylesheet_source);
|
||||
}
|
||||
|
||||
void ViewImplementation::enable_inspector_prototype()
|
||||
|
||||
Reference in New Issue
Block a user