summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Resolution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Resolution.cpp')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Resolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Resolution.cpp b/Userland/Libraries/LibWeb/CSS/Resolution.cpp
index 6250385e2d..870dee9da4 100644
--- a/Userland/Libraries/LibWeb/CSS/Resolution.cpp
+++ b/Userland/Libraries/LibWeb/CSS/Resolution.cpp
@@ -21,9 +21,9 @@ Resolution::Resolution(float value, Type type)
{
}
-String Resolution::to_string() const
+DeprecatedString Resolution::to_string() const
{
- return String::formatted("{}{}", m_value, unit_name());
+ return DeprecatedString::formatted("{}{}", m_value, unit_name());
}
float Resolution::to_dots_per_pixel() const