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

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

Issue 21735005: Use "int" instead of "long" for bindings where the WebIDL uses "long". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « Source/modules/indexeddb/IDBFactory.h ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | 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 cbe649c1c2afc464873a495d95dad37489b11d59..3d68f95c029f18269b5432219386ecbf1ef10fb8 100644
--- a/Source/modules/mediasource/SourceBufferList.h
+++ b/Source/modules/mediasource/SourceBufferList.h
@@ -49,8 +49,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(PassRefPtr<SourceBuffer>);
void remove(SourceBuffer*);
« no previous file with comments | « Source/modules/indexeddb/IDBFactory.h ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698