summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Ratio.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Ratio.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Ratio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Ratio.h b/Userland/Libraries/LibWeb/CSS/Ratio.h
index ea63a22919..7d32491823 100644
--- a/Userland/Libraries/LibWeb/CSS/Ratio.h
+++ b/Userland/Libraries/LibWeb/CSS/Ratio.h
@@ -6,7 +6,7 @@
#pragma once
-#include <AK/String.h>
+#include <AK/DeprecatedString.h>
namespace Web::CSS {
@@ -17,7 +17,7 @@ public:
float value() const { return m_first_value / m_second_value; }
bool is_degenerate() const;
- String to_string() const;
+ DeprecatedString to_string() const;
private:
float m_first_value { 0 };