Index: Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
diff --git a/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
index 4bf2fc0a5bbf76b631dc79fe18e27c87e1c80473..6885dfd0bd3fe4bc78620b00558f220b9145f665 100644 |
--- a/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
+++ b/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
@@ -36,8 +36,6 @@ |
#include "public/platform/Platform.h" |
#include "wtf/MainThread.h" |
-using namespace std; |
- |
namespace WebCore { |
const size_t renderQuantumSize = 128; |
@@ -121,7 +119,7 @@ void OfflineAudioDestinationNode::offlineRender() |
// Render one render quantum. |
render(0, m_renderBus.get(), renderQuantumSize); |
- size_t framesAvailableToCopy = min(framesToProcess, renderQuantumSize); |
+ size_t framesAvailableToCopy = std::min(framesToProcess, renderQuantumSize); |
for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { |
const float* source = m_renderBus->channel(channelIndex)->data(); |