Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / graphics / texmap / TextureMapperPlatformLayer.h
index ddacbfd..f95d70f 100644 (file)
@@ -36,7 +36,7 @@ public:
     };
 
     TextureMapperPlatformLayer() : m_client(0) { }
-    virtual ~TextureMapperPlatformLayer() { }
+    virtual ~TextureMapperPlatformLayer() = default;
     virtual void paintToTextureMapper(TextureMapper&, const FloatRect&, const TransformationMatrix& modelViewMatrix = TransformationMatrix(), float opacity = 1.0) = 0;
     virtual void swapBuffers() { }
     virtual void drawBorder(TextureMapper& textureMapper, const Color& color, float borderWidth, const FloatRect& targetRect, const TransformationMatrix& transform)