Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1635)

Unified Diff: media/cdm/simple_cdm_allocator.h

Issue 1802183002: Convert CreateCdmBuffer() to use size_t for |capacity| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cast Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cdm/cdm_allocator.h ('k') | media/cdm/simple_cdm_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « media/cdm/cdm_allocator.h ('k') | media/cdm/simple_cdm_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698