1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibWeb: Port CanvasGradient interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-04 20:47:08 +12:00 committed by Tim Flynn
parent 2c69f273a0
commit c4f12feadc
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ public:
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CanvasGradient>> create_linear(JS::Realm&, double x0, double y0, double x1, double y1);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CanvasGradient>> create_conic(JS::Realm&, double start_angle, double x, double y);
WebIDL::ExceptionOr<void> add_color_stop(double offset, DeprecatedString const& color);
WebIDL::ExceptionOr<void> add_color_stop(double offset, StringView color);
~CanvasGradient();