Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / graphics / win / MediaPlayerPrivateMediaFoundation.h
index 93541f5..9ce5910 100644 (file)
@@ -170,8 +170,8 @@ private:
 
     class MediaPlayerListener {
     public:
-        MediaPlayerListener() { }
-        virtual ~MediaPlayerListener() { }
+        MediaPlayerListener() = default;
+        virtual ~MediaPlayerListener() = default;
 
         virtual void onMediaPlayerDeleted() { }
     };
@@ -201,8 +201,8 @@ private:
 
     class VideoSamplePool {
     public:
-        VideoSamplePool() { }
-        virtual ~VideoSamplePool() { }
+        VideoSamplePool() = default;
+        virtual ~VideoSamplePool() = default;
 
         HRESULT initialize(VideoSampleList& samples);
         void clear();
@@ -222,8 +222,8 @@ private:
 
     class VideoScheduler {
     public:
-        VideoScheduler() { }
-        virtual ~VideoScheduler() { }
+        VideoScheduler() = default;
+        virtual ~VideoScheduler() = default;
 
         void setPresenter(Direct3DPresenter* presenter) { m_presenter = presenter; }