| Index: third_party/WebKit/Source/modules/mediasource/SourceBufferList.h
|
| diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBufferList.h b/third_party/WebKit/Source/modules/mediasource/SourceBufferList.h
|
| index be67f452044b4991783946948077fc9d6193afeb..90ac1c1d52a170baf3b3c7b8a136a06784838f34 100644
|
| --- a/third_party/WebKit/Source/modules/mediasource/SourceBufferList.h
|
| +++ b/third_party/WebKit/Source/modules/mediasource/SourceBufferList.h
|
| @@ -49,6 +49,10 @@ public:
|
| ~SourceBufferList() override;
|
|
|
| unsigned length() const { return m_list.size(); }
|
| +
|
| + DEFINE_ATTRIBUTE_EVENT_LISTENER(addsourcebuffer);
|
| + DEFINE_ATTRIBUTE_EVENT_LISTENER(removesourcebuffer);
|
| +
|
| SourceBuffer* item(unsigned index) const { return (index < m_list.size()) ? m_list[index].get() : 0; }
|
|
|
| void add(SourceBuffer*);
|
|
|