diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/CanvasGradient.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/CanvasGradient.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/CanvasGradient.cpp b/Userland/Libraries/LibWeb/HTML/CanvasGradient.cpp index 830a6533c8..ff9824ab17 100644 --- a/Userland/Libraries/LibWeb/HTML/CanvasGradient.cpp +++ b/Userland/Libraries/LibWeb/HTML/CanvasGradient.cpp @@ -43,9 +43,7 @@ CanvasGradient::CanvasGradient(Type type) { } -CanvasGradient::~CanvasGradient() -{ -} +CanvasGradient::~CanvasGradient() = default; // https://html.spec.whatwg.org/multipage/canvas.html#dom-canvasgradient-addcolorstop DOM::ExceptionOr<void> CanvasGradient::add_color_stop(double offset, String const& color) |