Index: media/cdm/simple_cdm_allocator.h |
diff --git a/media/cdm/simple_cdm_allocator.h b/media/cdm/simple_cdm_allocator.h |
index 3715c56c5bbb20194028208742e30772b1960dbb..1d6a69e45f25105885d3e13e56dfa9136a6d5fbb 100644 |
--- a/media/cdm/simple_cdm_allocator.h |
+++ b/media/cdm/simple_cdm_allocator.h |
@@ -5,6 +5,7 @@ |
#ifndef MEDIA_CDM_SIMPLE_CDM_ALLOCATOR_H_ |
#define MEDIA_CDM_SIMPLE_CDM_ALLOCATOR_H_ |
+#include <stddef.h> |
#include <stdint.h> |
#include "base/macros.h" |
@@ -19,7 +20,7 @@ class SimpleCdmAllocator : public CdmAllocator { |
~SimpleCdmAllocator() final; |
// CdmAllocator implementation. |
- cdm::Buffer* CreateCdmBuffer(uint32_t capacity) final; |
+ cdm::Buffer* CreateCdmBuffer(size_t capacity) final; |
scoped_ptr<VideoFrameImpl> CreateCdmVideoFrame() final; |
private: |