OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 m_removeAsyncPartRunner->suspend(); | 934 m_removeAsyncPartRunner->suspend(); |
935 m_appendStreamAsyncPartRunner->suspend(); | 935 m_appendStreamAsyncPartRunner->suspend(); |
936 } | 936 } |
937 | 937 |
938 void SourceBuffer::resume() { | 938 void SourceBuffer::resume() { |
939 m_appendBufferAsyncPartRunner->resume(); | 939 m_appendBufferAsyncPartRunner->resume(); |
940 m_removeAsyncPartRunner->resume(); | 940 m_removeAsyncPartRunner->resume(); |
941 m_appendStreamAsyncPartRunner->resume(); | 941 m_appendStreamAsyncPartRunner->resume(); |
942 } | 942 } |
943 | 943 |
944 void SourceBuffer::stop() { | 944 void SourceBuffer::contextDestroyed() { |
945 m_appendBufferAsyncPartRunner->stop(); | 945 m_appendBufferAsyncPartRunner->stop(); |
946 m_removeAsyncPartRunner->stop(); | 946 m_removeAsyncPartRunner->stop(); |
947 m_appendStreamAsyncPartRunner->stop(); | 947 m_appendStreamAsyncPartRunner->stop(); |
948 } | 948 } |
949 | 949 |
950 ExecutionContext* SourceBuffer::getExecutionContext() const { | 950 ExecutionContext* SourceBuffer::getExecutionContext() const { |
951 return ActiveDOMObject::getExecutionContext(); | 951 return ActiveDOMObject::getExecutionContext(); |
952 } | 952 } |
953 | 953 |
954 const AtomicString& SourceBuffer::interfaceName() const { | 954 const AtomicString& SourceBuffer::interfaceName() const { |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 visitor->trace(m_removeAsyncPartRunner); | 1328 visitor->trace(m_removeAsyncPartRunner); |
1329 visitor->trace(m_appendStreamAsyncPartRunner); | 1329 visitor->trace(m_appendStreamAsyncPartRunner); |
1330 visitor->trace(m_stream); | 1330 visitor->trace(m_stream); |
1331 visitor->trace(m_audioTracks); | 1331 visitor->trace(m_audioTracks); |
1332 visitor->trace(m_videoTracks); | 1332 visitor->trace(m_videoTracks); |
1333 EventTargetWithInlineData::trace(visitor); | 1333 EventTargetWithInlineData::trace(visitor); |
1334 ActiveDOMObject::trace(visitor); | 1334 ActiveDOMObject::trace(visitor); |
1335 } | 1335 } |
1336 | 1336 |
1337 } // namespace blink | 1337 } // namespace blink |
OLD | NEW |