Index: media/cdm/simple_cdm_buffer.h |
diff --git a/media/cdm/simple_cdm_buffer.h b/media/cdm/simple_cdm_buffer.h |
index b48fec517abfcba3f41e868988461a5ce770206f..119b620c86714e40997ecb0c845bb2156d2acc38 100644 |
--- a/media/cdm/simple_cdm_buffer.h |
+++ b/media/cdm/simple_cdm_buffer.h |
@@ -5,7 +5,9 @@ |
#ifndef MEDIA_CDM_SIMPLE_CDM_BUFFER_H_ |
#define MEDIA_CDM_SIMPLE_CDM_BUFFER_H_ |
+#include <stddef.h> |
#include <stdint.h> |
+ |
#include <vector> |
#include "base/macros.h" |
@@ -17,7 +19,7 @@ namespace media { |
// implementation that stores the data in a std::vector<uint8_t>. |
class SimpleCdmBuffer : public cdm::Buffer { |
public: |
- static SimpleCdmBuffer* Create(uint32_t capacity); |
+ static SimpleCdmBuffer* Create(size_t capacity); |
// cdm::Buffer implementation. |
void Destroy() final; |