summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebGL
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-01-13 10:29:02 -0500
committerLinus Groh <mail@linusgroh.de>2023-01-15 01:00:20 +0000
commitafeb7273cceed08019973a35d7f042f63b5f1f57 (patch)
tree6bbefe06bdd0b26f689cfacb284284134545b61a /Userland/Libraries/LibWeb/WebGL
parent8f5bdce8e7a1121578e262b897c56a1848328a90 (diff)
downloadserenity-afeb7273cceed08019973a35d7f042f63b5f1f57.zip
LibJS+Everywhere: Rename Value::to_string to to_deprecated_string
Diffstat (limited to 'Userland/Libraries/LibWeb/WebGL')
-rw-r--r--Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp b/Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp
index 4ce9709eda..f28f452ad6 100644
--- a/Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp
+++ b/Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp
@@ -98,7 +98,7 @@ JS::ThrowCompletionOr<WebGLContextAttributes> convert_value_to_context_attribute
WebGLPowerPreference power_preference_value { WebGLPowerPreference::Default };
if (!power_preference.is_undefined()) {
- auto power_preference_string = TRY(power_preference.to_string(vm));
+ auto power_preference_string = TRY(power_preference.to_deprecated_string(vm));
if (power_preference_string == "high-performance"sv)
power_preference_value = WebGLPowerPreference::HighPerformance;