OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 CueTimeline* TextTrack::cueTimeline() const | 439 CueTimeline* TextTrack::cueTimeline() const |
440 { | 440 { |
441 return mediaElement() ? &mediaElement()->cueTimeline() : nullptr; | 441 return mediaElement() ? &mediaElement()->cueTimeline() : nullptr; |
442 } | 442 } |
443 | 443 |
444 Node* TextTrack::owner() const | 444 Node* TextTrack::owner() const |
445 { | 445 { |
446 return mediaElement(); | 446 return mediaElement(); |
447 } | 447 } |
448 | 448 |
449 void TextTrack::trace(Visitor* visitor) | 449 DEFINE_TRACE(TextTrack) |
450 { | 450 { |
451 visitor->trace(m_cues); | 451 visitor->trace(m_cues); |
452 visitor->trace(m_regions); | 452 visitor->trace(m_regions); |
453 visitor->trace(m_trackList); | 453 visitor->trace(m_trackList); |
454 TrackBase::trace(visitor); | 454 TrackBase::trace(visitor); |
455 EventTargetWithInlineData::trace(visitor); | 455 EventTargetWithInlineData::trace(visitor); |
456 } | 456 } |
457 | 457 |
458 } // namespace blink | 458 } // namespace blink |
OLD | NEW |