Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / html / canvas / WebGPURenderCommandEncoder.cpp
index 9b694d9..6ebd674 100644 (file)
@@ -51,9 +51,7 @@ WebGPURenderCommandEncoder::WebGPURenderCommandEncoder(WebGPURenderingContext* c
     m_renderCommandEncoder = buffer->commandBuffer()->createRenderCommandEncoder(descriptor->renderPassDescriptor());
 }
 
-WebGPURenderCommandEncoder::~WebGPURenderCommandEncoder()
-{
-}
+WebGPURenderCommandEncoder::~WebGPURenderCommandEncoder() = default;
 
 void WebGPURenderCommandEncoder::setRenderPipelineState(WebGPURenderPipelineState& pipelineState)
 {