Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / dom / MessageChannel.cpp
index 3ced2eb..a140953 100644 (file)
@@ -39,8 +39,6 @@ MessageChannel::MessageChannel(ScriptExecutionContext& context)
     MessagePortChannel::createChannel(m_port1.get(), m_port2.get());
 }
 
-MessageChannel::~MessageChannel()
-{
-}
+MessageChannel::~MessageChannel() = default;
 
 } // namespace WebCore