Index: Source/modules/webaudio/AudioNode.cpp |
diff --git a/Source/modules/webaudio/AudioNode.cpp b/Source/modules/webaudio/AudioNode.cpp |
index c1cd449c2e6f3d057fbdca01ebfd65cba4db0f8d..cc88387fe4acf00ef093f073ceaa65e3767775b3 100644 |
--- a/Source/modules/webaudio/AudioNode.cpp |
+++ b/Source/modules/webaudio/AudioNode.cpp |
@@ -126,7 +126,7 @@ AudioNodeOutput* AudioNode::output(unsigned i) |
void AudioNode::connect(AudioNode* destination, unsigned outputIndex, unsigned inputIndex, ExceptionState& es) |
{ |
- ASSERT(isMainThread()); |
+ ASSERT(isMainThread()); |
AudioContext::AutoLocker locker(context()); |
if (!destination) { |
@@ -342,7 +342,7 @@ bool AudioNode::propagatesSilence() const |
void AudioNode::pullInputs(size_t framesToProcess) |
{ |
ASSERT(context()->isAudioThread()); |
- |
+ |
// Process all of the AudioNodes connected to our inputs. |
for (unsigned i = 0; i < m_inputs.size(); ++i) |
input(i)->pull(0, framesToProcess); |
@@ -437,7 +437,7 @@ void AudioNode::deref(RefType refType) |
// In the case of the audio thread, we must use a tryLock to avoid glitches. |
bool hasLock = false; |
bool mustReleaseLock = false; |
- |
+ |
if (context()->isAudioThread()) { |
// Real-time audio thread must not contend lock (to avoid glitches). |
hasLock = context()->tryLock(mustReleaseLock); |
@@ -445,7 +445,7 @@ void AudioNode::deref(RefType refType) |
context()->lock(mustReleaseLock); |
hasLock = true; |
} |
- |
+ |
if (hasLock) { |
// This is where the real deref work happens. |
finishDeref(refType); |
@@ -469,7 +469,7 @@ void AudioNode::deref(RefType refType) |
void AudioNode::finishDeref(RefType refType) |
{ |
ASSERT(context()->isGraphOwner()); |
- |
+ |
switch (refType) { |
case RefTypeNormal: |
ASSERT(m_normalRefCount > 0); |
@@ -482,7 +482,7 @@ void AudioNode::finishDeref(RefType refType) |
default: |
ASSERT_NOT_REACHED(); |
} |
- |
+ |
#if DEBUG_AUDIONODE_REFERENCES |
fprintf(stderr, "%p: %d: AudioNode::deref(%d) %d %d\n", this, nodeType(), refType, m_normalRefCount, m_connectionRefCount); |
#endif |