Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / workers / WorkerScriptLoader.cpp
index 9720a97..e07afd5 100644 (file)
 
 namespace WebCore {
 
-WorkerScriptLoader::WorkerScriptLoader()
-{
-}
+WorkerScriptLoader::WorkerScriptLoader() = default;
 
-WorkerScriptLoader::~WorkerScriptLoader()
-{
-}
+WorkerScriptLoader::~WorkerScriptLoader() = default;
 
 void WorkerScriptLoader::loadSynchronously(ScriptExecutionContext* scriptExecutionContext, const URL& url, FetchOptions::Mode mode, ContentSecurityPolicyEnforcement contentSecurityPolicyEnforcement, const String& initiatorIdentifier)
 {