OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 event->setTarget(this); | 85 event->setTarget(this); |
86 | 86 |
87 m_asyncEventQueue->enqueueEvent(event.release()); | 87 m_asyncEventQueue->enqueueEvent(event.release()); |
88 } | 88 } |
89 | 89 |
90 const AtomicString& SourceBufferList::interfaceName() const | 90 const AtomicString& SourceBufferList::interfaceName() const |
91 { | 91 { |
92 return EventTargetNames::SourceBufferList; | 92 return EventTargetNames::SourceBufferList; |
93 } | 93 } |
94 | 94 |
95 ExecutionContext* SourceBufferList::executionContext() const | 95 ExecutionContext* SourceBufferList::getExecutionContext() const |
96 { | 96 { |
97 return m_executionContext; | 97 return m_executionContext; |
98 } | 98 } |
99 | 99 |
100 DEFINE_TRACE(SourceBufferList) | 100 DEFINE_TRACE(SourceBufferList) |
101 { | 101 { |
102 visitor->trace(m_executionContext); | 102 visitor->trace(m_executionContext); |
103 visitor->trace(m_asyncEventQueue); | 103 visitor->trace(m_asyncEventQueue); |
104 visitor->trace(m_list); | 104 visitor->trace(m_list); |
105 RefCountedGarbageCollectedEventTargetWithInlineData<SourceBufferList>::trace
(visitor); | 105 RefCountedGarbageCollectedEventTargetWithInlineData<SourceBufferList>::trace
(visitor); |
106 } | 106 } |
107 | 107 |
108 } // namespace blink | 108 } // namespace blink |
OLD | NEW |