OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // TextTrack object, at the media element's textTracks attribute's | 317 // TextTrack object, at the media element's textTracks attribute's |
318 // TextTrackList object. | 318 // TextTrackList object. |
319 scheduleTrackEvent(EventTypeNames::removetrack, track); | 319 scheduleTrackEvent(EventTypeNames::removetrack, track); |
320 } | 320 } |
321 | 321 |
322 HTMLMediaElement* TextTrackList::owner() const | 322 HTMLMediaElement* TextTrackList::owner() const |
323 { | 323 { |
324 return m_owner; | 324 return m_owner; |
325 } | 325 } |
326 | 326 |
327 void TextTrackList::trace(Visitor* visitor) | 327 DEFINE_TRACE(TextTrackList) |
328 { | 328 { |
329 visitor->trace(m_owner); | 329 visitor->trace(m_owner); |
330 visitor->trace(m_asyncEventQueue); | 330 visitor->trace(m_asyncEventQueue); |
331 visitor->trace(m_addTrackTracks); | 331 visitor->trace(m_addTrackTracks); |
332 visitor->trace(m_elementTracks); | 332 visitor->trace(m_elementTracks); |
333 visitor->trace(m_inbandTracks); | 333 visitor->trace(m_inbandTracks); |
334 EventTargetWithInlineData::trace(visitor); | 334 EventTargetWithInlineData::trace(visitor); |
335 } | 335 } |
OLD | NEW |