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

Unified Diff: media/base/buffers.h

Issue 9854031: Replace size_t with int in a few media classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests 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
Index: media/base/buffers.h
diff --git a/media/base/buffers.h b/media/base/buffers.h
index 379b175ea5aaa9da55ef5f6afcfa6fc8bdbb4d26..52013bc54edd134a79c4c6425ac4b148a46d1b4a 100644
--- a/media/base/buffers.h
+++ b/media/base/buffers.h
@@ -92,7 +92,7 @@ class MEDIA_EXPORT Buffer : public StreamSample {
virtual const uint8* GetData() const = 0;
// Returns the size of valid data in bytes.
- virtual size_t GetDataSize() const = 0;
+ virtual int GetDataSize() const = 0;
// If there's no data in this buffer, it represents end of stream.
virtual bool IsEndOfStream() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698