diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h index 56261eaf01..e12d1dd3ec 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h @@ -24,11 +24,12 @@ public: void update_a_style_block(); - RefPtr<CSS::CSSStyleSheet> sheet() const; + CSS::CSSStyleSheet* sheet(); + CSS::CSSStyleSheet const* sheet() const; private: // https://www.w3.org/TR/cssom/#associated-css-style-sheet - RefPtr<CSS::CSSStyleSheet> m_associated_css_style_sheet; + JS::Handle<CSS::CSSStyleSheet> m_associated_css_style_sheet; }; } |