diff options
Diffstat (limited to 'chromium/media/gpu/windows/d3d11_video_device_format_support.h')
-rw-r--r-- | chromium/media/gpu/windows/d3d11_video_device_format_support.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/media/gpu/windows/d3d11_video_device_format_support.h b/chromium/media/gpu/windows/d3d11_video_device_format_support.h index 569f61ab549..01dae897d68 100644 --- a/chromium/media/gpu/windows/d3d11_video_device_format_support.h +++ b/chromium/media/gpu/windows/d3d11_video_device_format_support.h @@ -19,6 +19,10 @@ class MEDIA_GPU_EXPORT FormatSupportChecker { public: // |device| may be null, mostly for tests. explicit FormatSupportChecker(ComD3D11Device device); + + FormatSupportChecker(const FormatSupportChecker&) = delete; + FormatSupportChecker& operator=(const FormatSupportChecker&) = delete; + virtual ~FormatSupportChecker(); // Set up the device to be able to check format support. @@ -32,8 +36,6 @@ class MEDIA_GPU_EXPORT FormatSupportChecker { ComD3D11Device device_; ComD3D11VideoProcessorEnumerator enumerator_; bool initialized_ = false; - - DISALLOW_COPY_AND_ASSIGN(FormatSupportChecker); }; } // namespace media |