diff options
Diffstat (limited to 'chromium/media/cdm/simple_cdm_allocator.h')
-rw-r--r-- | chromium/media/cdm/simple_cdm_allocator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/media/cdm/simple_cdm_allocator.h b/chromium/media/cdm/simple_cdm_allocator.h index 4cdcc0f4997..1ae9e82c039 100644 --- a/chromium/media/cdm/simple_cdm_allocator.h +++ b/chromium/media/cdm/simple_cdm_allocator.h @@ -18,14 +18,15 @@ namespace media { class SimpleCdmAllocator final : public CdmAllocator { public: SimpleCdmAllocator(); + + SimpleCdmAllocator(const SimpleCdmAllocator&) = delete; + SimpleCdmAllocator& operator=(const SimpleCdmAllocator&) = delete; + ~SimpleCdmAllocator() override; // CdmAllocator implementation. cdm::Buffer* CreateCdmBuffer(size_t capacity) override; std::unique_ptr<VideoFrameImpl> CreateCdmVideoFrame() override; - - private: - DISALLOW_COPY_AND_ASSIGN(SimpleCdmAllocator); }; } // namespace media |