Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: Source/modules/webaudio/AudioNodeInput.cpp

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/AudioNodeInput.h ('k') | Source/modules/webaudio/AudioNodeOutput.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNodeInput.cpp
diff --git a/Source/modules/webaudio/AudioNodeInput.cpp b/Source/modules/webaudio/AudioNodeInput.cpp
index 12ecea4ecf6755a92827e24c1ced80aef0597bd3..6a315547094dad2ab69fa1f3ed3ccb77eee6ff31 100644
--- a/Source/modules/webaudio/AudioNodeInput.cpp
+++ b/Source/modules/webaudio/AudioNodeInput.cpp
@@ -34,7 +34,7 @@
#include <algorithm>
using namespace std;
-
+
namespace WebCore {
AudioNodeInput::AudioNodeInput(AudioNode* node)
@@ -48,7 +48,7 @@ AudioNodeInput::AudioNodeInput(AudioNode* node)
void AudioNodeInput::connect(AudioNodeOutput* output)
{
ASSERT(context()->isGraphOwner());
-
+
ASSERT(output && node());
if (!output || !node())
return;
@@ -56,7 +56,7 @@ void AudioNodeInput::connect(AudioNodeOutput* output)
// Check if we're already connected to this output.
if (m_outputs.contains(output))
return;
-
+
output->addInput(this);
m_outputs.add(output);
changedOutputs();
@@ -81,7 +81,7 @@ void AudioNodeInput::disconnect(AudioNodeOutput* output)
node()->deref(AudioNode::RefTypeConnection); // Note: it's important to return immediately after all deref() calls since the node may be deleted.
return;
}
-
+
// Otherwise, try to disconnect from disabled connections.
if (m_disabledOutputs.contains(output)) {
m_disabledOutputs.remove(output);
@@ -102,7 +102,7 @@ void AudioNodeInput::disable(AudioNodeOutput* output)
return;
ASSERT(m_outputs.contains(output));
-
+
m_disabledOutputs.add(output);
m_outputs.remove(output);
changedOutputs();
@@ -198,7 +198,7 @@ void AudioNodeInput::sumAllConnections(AudioBus* summingBus, size_t framesToProc
ASSERT(summingBus);
if (!summingBus)
return;
-
+
summingBus->zero();
AudioBus::ChannelInterpretation interpretation = node()->internalChannelInterpretation();
@@ -237,7 +237,7 @@ AudioBus* AudioNodeInput::pull(AudioBus* inPlaceBus, size_t framesToProcess)
// Handle multiple connections case.
sumAllConnections(internalSummingBus, framesToProcess);
-
+
return internalSummingBus;
}
« no previous file with comments | « Source/modules/webaudio/AudioNodeInput.h ('k') | Source/modules/webaudio/AudioNodeOutput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698