summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/StyleValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleValue.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h
index 93ef5f60c8..2d432d55e0 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleValue.h
+++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h
@@ -112,7 +112,7 @@ enum class Cursor {
enum class FlexBasis {
Content,
- Length,
+ LengthPercentage,
Auto,
};
@@ -1185,7 +1185,7 @@ private:
class PercentageStyleValue final : public StyleValue {
public:
- static NonnullRefPtr<PercentageStyleValue> create(Percentage&& percentage)
+ static NonnullRefPtr<PercentageStyleValue> create(Percentage percentage)
{
return adopt_ref(*new PercentageStyleValue(move(percentage)));
}