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

Unified Diff: Source/modules/mediasource/SourceBufferList.h

Issue 721053002: Use "unsigned" rather than "unsigned long" for C++ code interacting with WebIDL's "unsigned long". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBufferList.h
diff --git a/Source/modules/mediasource/SourceBufferList.h b/Source/modules/mediasource/SourceBufferList.h
index d7b60caaf1b8911f45a17844b2b60de398318c48..64a5f6f7073acc4bb090aabedce7d8c38be6deaf 100644
--- a/Source/modules/mediasource/SourceBufferList.h
+++ b/Source/modules/mediasource/SourceBufferList.h
@@ -51,8 +51,8 @@ public:
}
virtual ~SourceBufferList();
- unsigned long length() const { return m_list.size(); }
- SourceBuffer* item(unsigned long index) const { return (index < m_list.size()) ? m_list[index].get() : 0; }
+ unsigned length() const { return m_list.size(); }
+ SourceBuffer* item(unsigned index) const { return (index < m_list.size()) ? m_list[index].get() : 0; }
void add(SourceBuffer*);
void insert(size_t position, SourceBuffer*);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698