Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / workers / DedicatedWorkerThread.cpp
index 5092bc9..1242eba 100644 (file)
@@ -44,9 +44,7 @@ DedicatedWorkerThread::DedicatedWorkerThread(const URL& url, const String& ident
 {
 }
 
-DedicatedWorkerThread::~DedicatedWorkerThread()
-{
-}
+DedicatedWorkerThread::~DedicatedWorkerThread() = default;
 
 Ref<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlobalScope(const URL& url, const String& identifier, const String& userAgent, const ContentSecurityPolicyResponseHeaders& contentSecurityPolicyResponseHeaders, bool shouldBypassMainWorldContentSecurityPolicy, Ref<SecurityOrigin>&& topOrigin, MonotonicTime timeOrigin, PAL::SessionID sessionID)
 {