Index: Source/modules/webaudio/AudioNodeInput.cpp |
diff --git a/Source/modules/webaudio/AudioNodeInput.cpp b/Source/modules/webaudio/AudioNodeInput.cpp |
index 24da41ddfa1bf27a64ca4084eccee688179eb1ab..7c79549e62153cb52c4a8ce6913a42609675db6c 100644 |
--- a/Source/modules/webaudio/AudioNodeInput.cpp |
+++ b/Source/modules/webaudio/AudioNodeInput.cpp |
@@ -32,8 +32,6 @@ |
#include "modules/webaudio/AudioNodeOutput.h" |
#include <algorithm> |
-using namespace std; |
- |
namespace WebCore { |
inline AudioNodeInput::AudioNodeInput(AudioNode* node) |
@@ -164,11 +162,11 @@ unsigned AudioNodeInput::numberOfChannels() const |
AudioNodeOutput* output = *i; |
// Use output()->numberOfChannels() instead of output->bus()->numberOfChannels(), |
// because the calling of AudioNodeOutput::bus() is not safe here. |
- maxChannels = max(maxChannels, output->numberOfChannels()); |
+ maxChannels = std::max(maxChannels, output->numberOfChannels()); |
} |
if (mode == AudioNode::ClampedMax) |
- maxChannels = min(maxChannels, static_cast<unsigned>(node()->channelCount())); |
+ maxChannels = std::min(maxChannels, static_cast<unsigned>(node()->channelCount())); |
return maxChannels; |
} |