Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / dom / CustomElementRegistry.cpp
index f2f108b..791b86f 100644 (file)
@@ -47,10 +47,10 @@ Ref<CustomElementRegistry> CustomElementRegistry::create(DOMWindow& window)
 
 CustomElementRegistry::CustomElementRegistry(DOMWindow& window)
     : m_window(window)
-{ }
+{
+}
 
-CustomElementRegistry::~CustomElementRegistry()
-{ }
+CustomElementRegistry::~CustomElementRegistry() = default;
 
 // https://dom.spec.whatwg.org/#concept-shadow-including-tree-order
 static void enqueueUpgradeInShadowIncludingTreeOrder(ContainerNode& node, JSCustomElementInterface& elementInterface)