Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / page / PerformanceResourceTiming.cpp
index c56f18e..152a9c7 100644 (file)
@@ -33,8 +33,6 @@
 #include "config.h"
 #include "PerformanceResourceTiming.h"
 
-#if ENABLE(WEB_TIMING)
-
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "LoadTiming.h"
@@ -84,9 +82,7 @@ PerformanceResourceTiming::PerformanceResourceTiming(MonotonicTime timeOrigin, R
 {
 }
 
-PerformanceResourceTiming::~PerformanceResourceTiming()
-{
-}
+PerformanceResourceTiming::~PerformanceResourceTiming() = default;
 
 String PerformanceResourceTiming::nextHopProtocol() const
 {
@@ -235,5 +231,3 @@ double PerformanceResourceTiming::networkLoadTimeToDOMHighResTimeStamp(Seconds d
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEB_TIMING)