mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibURL+LibWeb: Make URL::serialize return a String
Simplifying a bunch of uneeded error handling around the place.
This commit is contained in:
committed by
Sam Atkins
parent
d7ac0601ab
commit
0fa54c2327
@@ -114,7 +114,7 @@ Gfx::ImmutableBitmap const* ImageStyleValue::bitmap(size_t frame_index, Gfx::Int
|
||||
|
||||
String ImageStyleValue::to_string() const
|
||||
{
|
||||
return serialize_a_url(MUST(m_url.to_string()));
|
||||
return serialize_a_url(m_url.to_string());
|
||||
}
|
||||
|
||||
bool ImageStyleValue::equals(CSSStyleValue const& other) const
|
||||
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
|
||||
virtual String to_string() const override
|
||||
{
|
||||
return serialize_a_url(MUST(m_url.to_string()));
|
||||
return serialize_a_url(m_url.to_string());
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user