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

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

Issue 363613003: Removing using declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/DelayDSPKernel.cpp ('k') | Source/modules/webaudio/OscillatorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/modules/webaudio/DelayDSPKernel.cpp ('k') | Source/modules/webaudio/OscillatorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698