| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 AudioHandler& AudioNode::handler() const | 541 AudioHandler& AudioNode::handler() const |
| 542 { | 542 { |
| 543 return *m_handler; | 543 return *m_handler; |
| 544 } | 544 } |
| 545 | 545 |
| 546 DEFINE_TRACE(AudioNode) | 546 DEFINE_TRACE(AudioNode) |
| 547 { | 547 { |
| 548 visitor->trace(m_context); | 548 visitor->trace(m_context); |
| 549 visitor->trace(m_connectedNodes); | 549 visitor->trace(m_connectedNodes); |
| 550 visitor->trace(m_connectedParams); | 550 visitor->trace(m_connectedParams); |
| 551 RefCountedGarbageCollectedEventTargetWithInlineData<AudioNode>::trace(visito
r); | 551 EventTargetWithInlineData::trace(visitor); |
| 552 } | 552 } |
| 553 | 553 |
| 554 AbstractAudioContext* AudioNode::context() const | 554 AbstractAudioContext* AudioNode::context() const |
| 555 { | 555 { |
| 556 return m_context; | 556 return m_context; |
| 557 } | 557 } |
| 558 | 558 |
| 559 AudioNode* AudioNode::connect(AudioNode* destination, unsigned outputIndex, unsi
gned inputIndex, ExceptionState& exceptionState) | 559 AudioNode* AudioNode::connect(AudioNode* destination, unsigned outputIndex, unsi
gned inputIndex, ExceptionState& exceptionState) |
| 560 { | 560 { |
| 561 ASSERT(isMainThread()); | 561 ASSERT(isMainThread()); |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 void AudioNode::didAddOutput(unsigned numberOfOutputs) | 933 void AudioNode::didAddOutput(unsigned numberOfOutputs) |
| 934 { | 934 { |
| 935 m_connectedNodes.append(nullptr); | 935 m_connectedNodes.append(nullptr); |
| 936 ASSERT_UNUSED(numberOfOutputs, numberOfOutputs == m_connectedNodes.size()); | 936 ASSERT_UNUSED(numberOfOutputs, numberOfOutputs == m_connectedNodes.size()); |
| 937 m_connectedParams.append(nullptr); | 937 m_connectedParams.append(nullptr); |
| 938 ASSERT_UNUSED(numberOfOutputs, numberOfOutputs == m_connectedParams.size()); | 938 ASSERT_UNUSED(numberOfOutputs, numberOfOutputs == m_connectedParams.size()); |
| 939 } | 939 } |
| 940 | 940 |
| 941 } // namespace blink | 941 } // namespace blink |
| 942 | 942 |
| OLD | NEW |