Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / graphics / cairo / BackingStoreBackendCairoImpl.cpp
index 1a81cdc..1cec40f 100644 (file)
@@ -48,9 +48,7 @@ BackingStoreBackendCairoImpl::BackingStoreBackendCairoImpl(const IntSize& size,
     m_surface = createCairoImageSurfaceWithFastMalloc(scaledSize, deviceScaleFactor);
 }
 
-BackingStoreBackendCairoImpl::~BackingStoreBackendCairoImpl()
-{
-}
+BackingStoreBackendCairoImpl::~BackingStoreBackendCairoImpl() = default;
 
 void BackingStoreBackendCairoImpl::scroll(const IntRect& scrollRect, const IntSize& scrollOffset)
 {