Commit 3cb004ec authored by eroman@chromium.org's avatar eroman@chromium.org

Use "unsigned" rather than "unsigned long" for C++ code interacting with WebIDL's "unsigned long".

(WebIDL's "unsigned long" is a 32-bit type)

BUG=267360

Review URL: https://codereview.chromium.org/721053002

git-svn-id: svn://svn.chromium.org/blink/trunk@185283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 211597c9
...@@ -51,8 +51,8 @@ public: ...@@ -51,8 +51,8 @@ public:
} }
virtual ~SourceBufferList(); virtual ~SourceBufferList();
unsigned long length() const { return m_list.size(); } unsigned length() const { return m_list.size(); }
SourceBuffer* item(unsigned long index) const { return (index < m_list.size()) ? m_list[index].get() : 0; } SourceBuffer* item(unsigned index) const { return (index < m_list.size()) ? m_list[index].get() : 0; }
void add(SourceBuffer*); void add(SourceBuffer*);
void insert(size_t position, SourceBuffer*); void insert(size_t position, SourceBuffer*);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment