| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 118         for (size_t i = 0; i < m_cues->length(); ++i) | 118         for (size_t i = 0; i < m_cues->length(); ++i) | 
| 119             m_cues->item(i)->setTrack(0); | 119             m_cues->item(i)->setTrack(0); | 
| 120     } | 120     } | 
| 121     if (m_regions) { | 121     if (m_regions) { | 
| 122         for (size_t i = 0; i < m_regions->length(); ++i) | 122         for (size_t i = 0; i < m_regions->length(); ++i) | 
| 123             m_regions->item(i)->setTrack(0); | 123             m_regions->item(i)->setTrack(0); | 
| 124     } | 124     } | 
| 125 #endif | 125 #endif | 
| 126 } | 126 } | 
| 127 | 127 | 
| 128 bool TextTrack::isValidKindKeyword(const AtomicString& value) | 128 bool TextTrack::isValidKindKeyword(const String& value) | 
| 129 { | 129 { | 
| 130     if (value == subtitlesKeyword()) | 130     if (value == subtitlesKeyword()) | 
| 131         return true; | 131         return true; | 
| 132     if (value == captionsKeyword()) | 132     if (value == captionsKeyword()) | 
| 133         return true; | 133         return true; | 
| 134     if (value == descriptionsKeyword()) | 134     if (value == descriptionsKeyword()) | 
| 135         return true; | 135         return true; | 
| 136     if (value == chaptersKeyword()) | 136     if (value == chaptersKeyword()) | 
| 137         return true; | 137         return true; | 
| 138     if (value == metadataKeyword()) | 138     if (value == metadataKeyword()) | 
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 440 void TextTrack::trace(Visitor* visitor) | 440 void TextTrack::trace(Visitor* visitor) | 
| 441 { | 441 { | 
| 442     visitor->trace(m_cues); | 442     visitor->trace(m_cues); | 
| 443     visitor->trace(m_regions); | 443     visitor->trace(m_regions); | 
| 444     visitor->trace(m_trackList); | 444     visitor->trace(m_trackList); | 
| 445     TrackBase::trace(visitor); | 445     TrackBase::trace(visitor); | 
| 446     EventTargetWithInlineData::trace(visitor); | 446     EventTargetWithInlineData::trace(visitor); | 
| 447 } | 447 } | 
| 448 | 448 | 
| 449 } // namespace blink | 449 } // namespace blink | 
| OLD | NEW | 
|---|