Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / bridge / runtime_root.cpp
index ebf877e..1a10cb3 100644 (file)
@@ -75,9 +75,7 @@ RootObject* findRootObject(JSGlobalObject* globalObject)
     return 0;
 }
 
-RootObject::InvalidationCallback::~InvalidationCallback()
-{
-}
+RootObject::InvalidationCallback::~InvalidationCallback() = default;
 
 Ref<RootObject> RootObject::create(const void* nativeHandle, JSGlobalObject* globalObject)
 {