| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 , m_cues(nullptr) | 99 , m_cues(nullptr) |
| 100 , m_regions(nullptr) | 100 , m_regions(nullptr) |
| 101 , m_trackList(nullptr) | 101 , m_trackList(nullptr) |
| 102 , m_mode(disabledKeyword()) | 102 , m_mode(disabledKeyword()) |
| 103 , m_trackType(type) | 103 , m_trackType(type) |
| 104 , m_readinessState(NotLoaded) | 104 , m_readinessState(NotLoaded) |
| 105 , m_trackIndex(invalidTrackIndex) | 105 , m_trackIndex(invalidTrackIndex) |
| 106 , m_renderedTrackIndex(invalidTrackIndex) | 106 , m_renderedTrackIndex(invalidTrackIndex) |
| 107 , m_hasBeenConfigured(false) | 107 , m_hasBeenConfigured(false) |
| 108 { | 108 { |
| 109 ScriptWrappable::init(this); | |
| 110 setKind(kind); | 109 setKind(kind); |
| 111 } | 110 } |
| 112 | 111 |
| 113 TextTrack::~TextTrack() | 112 TextTrack::~TextTrack() |
| 114 { | 113 { |
| 115 #if !ENABLE(OILPAN) | 114 #if !ENABLE(OILPAN) |
| 116 ASSERT(!m_trackList); | 115 ASSERT(!m_trackList); |
| 117 | 116 |
| 118 if (m_cues) { | 117 if (m_cues) { |
| 119 for (size_t i = 0; i < m_cues->length(); ++i) | 118 for (size_t i = 0; i < m_cues->length(); ++i) |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 void TextTrack::trace(Visitor* visitor) | 440 void TextTrack::trace(Visitor* visitor) |
| 442 { | 441 { |
| 443 visitor->trace(m_cues); | 442 visitor->trace(m_cues); |
| 444 visitor->trace(m_regions); | 443 visitor->trace(m_regions); |
| 445 visitor->trace(m_trackList); | 444 visitor->trace(m_trackList); |
| 446 TrackBase::trace(visitor); | 445 TrackBase::trace(visitor); |
| 447 EventTargetWithInlineData::trace(visitor); | 446 EventTargetWithInlineData::trace(visitor); |
| 448 } | 447 } |
| 449 | 448 |
| 450 } // namespace blink | 449 } // namespace blink |
| OLD | NEW |