| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2011 Google Inc.  All rights reserved. |    2  * Copyright (C) 2011 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 |    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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   79     } |   79     } | 
|   80  |   80  | 
|   81     // 4.8.10.12.3 Sourcing out-of-band text tracks (continued) |   81     // 4.8.10.12.3 Sourcing out-of-band text tracks (continued) | 
|   82  |   82  | 
|   83     // 2. Let URL be the track URL of the track element. |   83     // 2. Let URL be the track URL of the track element. | 
|   84     m_url = url; |   84     m_url = url; | 
|   85  |   85  | 
|   86     // 3. Asynchronously run the remaining steps, while continuing with whatever
      task |   86     // 3. Asynchronously run the remaining steps, while continuing with whatever
      task | 
|   87     // was responsible for creating the text track or changing the text track mo
     de. |   87     // was responsible for creating the text track or changing the text track mo
     de. | 
|   88     if (!m_loadTimer.isActive()) |   88     if (!m_loadTimer.isActive()) | 
|   89         m_loadTimer.startOneShot(0); |   89         m_loadTimer.startOneShot(0, FROM_HERE); | 
|   90 } |   90 } | 
|   91  |   91  | 
|   92 void LoadableTextTrack::loadTimerFired(Timer<LoadableTextTrack>*) |   92 void LoadableTextTrack::loadTimerFired(Timer<LoadableTextTrack>*) | 
|   93 { |   93 { | 
|   94     if (m_loader) |   94     if (m_loader) | 
|   95         m_loader->cancelLoad(); |   95         m_loader->cancelLoad(); | 
|   96  |   96  | 
|   97     if (!m_trackElement) |   97     if (!m_trackElement) | 
|   98         return; |   98         return; | 
|   99  |   99  | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  161         if (track == m_trackElement) |  161         if (track == m_trackElement) | 
|  162             return index; |  162             return index; | 
|  163         ++index; |  163         ++index; | 
|  164     } |  164     } | 
|  165     ASSERT_NOT_REACHED(); |  165     ASSERT_NOT_REACHED(); | 
|  166  |  166  | 
|  167     return 0; |  167     return 0; | 
|  168 } |  168 } | 
|  169  |  169  | 
|  170 } // namespace WebCore |  170 } // namespace WebCore | 
| OLD | NEW |