Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / html / ImageBitmap.cpp
index aa7e38b..4a31605 100644 (file)
@@ -325,13 +325,9 @@ void ImageBitmap::createPromise(ScriptExecutionContext&, RefPtr<ImageData>& imag
     promise.resolve(imageBitmap);
 }
 
-ImageBitmap::ImageBitmap()
-{
-}
+ImageBitmap::ImageBitmap() = default;
 
-ImageBitmap::~ImageBitmap()
-{
-}
+ImageBitmap::~ImageBitmap() = default;
 
 unsigned ImageBitmap::width() const
 {