mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibWeb: CSSImportRule::set_style_sheet() should take a CSSStyleSheet
Spotted by @tomuta in #6086.
This commit is contained in:
parent
dcfc357860
commit
136d774885
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
bool has_import_result() const { return !m_style_sheet.is_null(); }
|
||||
RefPtr<CSSStyleSheet> loaded_style_sheet() { return m_style_sheet; }
|
||||
const RefPtr<CSSStyleSheet> loaded_style_sheet() const { return m_style_sheet; }
|
||||
void set_style_sheet(const RefPtr<StyleSheet>& style_sheet) { m_style_sheet = style_sheet; }
|
||||
void set_style_sheet(const RefPtr<CSSStyleSheet>& style_sheet) { m_style_sheet = style_sheet; }
|
||||
|
||||
virtual StringView class_name() const { return "CSSImportRule"; };
|
||||
virtual Type type() const { return Type::Import; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue