summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h
index 1ff81ecfca..4f40744a92 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleValue.h
+++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h
@@ -276,7 +276,7 @@ public:
}
virtual String to_string() const = 0;
- virtual Length to_length() const { return Length::make_auto(); }
+ virtual Length to_length() const { return {}; }
virtual Color to_color(const DOM::Document&) const { return {}; }
CSS::ValueID to_identifier() const;