mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
LibWeb: Make StyleValue::to_string() infallible
This commit is contained in:
parent
ccfe197e5a
commit
7fe97ee6c5
112 changed files with 425 additions and 430 deletions
|
@ -16,7 +16,7 @@ public:
|
|||
static ValueComparingNonnullRefPtr<DisplayStyleValue> create(Display const&);
|
||||
virtual ~DisplayStyleValue() override = default;
|
||||
|
||||
virtual ErrorOr<String> to_string() const override { return m_display.to_string(); }
|
||||
virtual String to_string() const override { return m_display.to_string(); }
|
||||
|
||||
Display display() const { return m_display; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue