mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +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:
parent
fd49562f50
commit
8cbc211616
Notes:
github-actions[bot]
2024-09-03 09:13:30 +00:00
Author: https://github.com/AtkinsSJ
Commit: 8cbc211616
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1168
Reviewed-by: https://github.com/trflynn89
9 changed files with 31 additions and 32 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue