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

Unified Diff: media/filters/source_buffer_platform.h

Issue 1235403002: Change ChunkDemuxerStream/SourceBufferStream memory limit to size_t type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A few more minor fixes Created 5 years, 5 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/filters/chunk_demuxer.cc ('k') | media/filters/source_buffer_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_platform.h
diff --git a/media/filters/source_buffer_platform.h b/media/filters/source_buffer_platform.h
index b063f99a5e408d1cf6ebf89ee8580b78d1bc9728..7feb05bff97c3eea95dfdb46b5c9f45c04f7a4a7 100644
--- a/media/filters/source_buffer_platform.h
+++ b/media/filters/source_buffer_platform.h
@@ -5,13 +5,14 @@
#ifndef MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_
#define MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_
+#include "base/basictypes.h"
#include "media/base/media_export.h"
namespace media {
// The maximum amount of data in bytes the stream will keep in memory.
-MEDIA_EXPORT extern const int kSourceBufferAudioMemoryLimit;
-MEDIA_EXPORT extern const int kSourceBufferVideoMemoryLimit;
+MEDIA_EXPORT extern const size_t kSourceBufferAudioMemoryLimit;
+MEDIA_EXPORT extern const size_t kSourceBufferVideoMemoryLimit;
} // namespace media
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/source_buffer_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698