diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp | 2 |
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; |