mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
LibWeb: Return String from CSSImportRule::href()
This commit is contained in:
parent
ef1e942f3e
commit
374b6cdffd
Notes:
sideshowbarker
2024-07-17 05:02:35 +09:00
Author: https://github.com/AtkinsSJ
Commit: 374b6cdffd
Pull-request: https://github.com/SerenityOS/serenity/pull/22115
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public:
|
||||||
|
|
||||||
AK::URL const& url() const { return m_url; }
|
AK::URL const& url() const { return m_url; }
|
||||||
// FIXME: This should return only the specified part of the url. eg, "stuff/foo.css", not "https://example.com/stuff/foo.css".
|
// FIXME: This should return only the specified part of the url. eg, "stuff/foo.css", not "https://example.com/stuff/foo.css".
|
||||||
DeprecatedString href() const { return m_url.to_deprecated_string(); }
|
String href() const { return MUST(m_url.to_string()); }
|
||||||
|
|
||||||
CSSStyleSheet* loaded_style_sheet() { return m_style_sheet; }
|
CSSStyleSheet* loaded_style_sheet() { return m_style_sheet; }
|
||||||
CSSStyleSheet const* loaded_style_sheet() const { return m_style_sheet; }
|
CSSStyleSheet const* loaded_style_sheet() const { return m_style_sheet; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue