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

Unified Diff: media/tools/player_x11/data_source_logger.cc

Issue 9854031: Replace size_t with int in a few media classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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/tools/player_x11/data_source_logger.h ('k') | webkit/media/buffered_data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/player_x11/data_source_logger.cc
diff --git a/media/tools/player_x11/data_source_logger.cc b/media/tools/player_x11/data_source_logger.cc
index 828c4bcce399ab29d60235c076ffb5b2a7e3fca5..ee3404ffef32e38815744ce9c57f85a1ce657801 100644
--- a/media/tools/player_x11/data_source_logger.cc
+++ b/media/tools/player_x11/data_source_logger.cc
@@ -12,8 +12,8 @@ static void LogAndRunStopClosure(const base::Closure& closure) {
}
static void LogAndRunReadCB(
- int64 position, size_t size,
- const media::DataSource::ReadCB& read_cb, size_t result) {
+ int64 position, int size,
+ const media::DataSource::ReadCB& read_cb, int result) {
VLOG(1) << "Read(" << position << ", " << size << ") -> " << result;
read_cb.Run(result);
}
@@ -38,7 +38,7 @@ void DataSourceLogger::Stop(const base::Closure& closure) {
}
void DataSourceLogger::Read(
- int64 position, size_t size, uint8* data,
+ int64 position, int size, uint8* data,
const media::DataSource::ReadCB& read_cb) {
VLOG(1) << "Read(" << position << ", " << size << ")";
data_source_->Read(position, size, data, base::Bind(
« no previous file with comments | « media/tools/player_x11/data_source_logger.h ('k') | webkit/media/buffered_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698