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

Unified Diff: Source/platform/audio/HRTFElevation.cpp

Issue 511333002: Removing "using" declarations that import names in the C++ Standard library.(Source/platform/audio) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/platform/audio/HRTFDatabase.cpp ('k') | Source/platform/audio/HRTFKernel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/HRTFElevation.cpp
diff --git a/Source/platform/audio/HRTFElevation.cpp b/Source/platform/audio/HRTFElevation.cpp
index 095a8f7dd9812d542d834c92f87f3401d1be4172..13a5a899104a937fdd88a7945e0ecc75e960c316 100644
--- a/Source/platform/audio/HRTFElevation.cpp
+++ b/Source/platform/audio/HRTFElevation.cpp
@@ -39,8 +39,6 @@
#include "wtf/ThreadingPrimitives.h"
#include "wtf/text/StringHash.h"
-using namespace std;
-
namespace blink {
const unsigned HRTFElevation::AzimuthSpacing = 15;
@@ -249,7 +247,7 @@ PassOwnPtr<HRTFElevation> HRTFElevation::createForSubject(const String& subjectN
for (unsigned rawIndex = 0; rawIndex < NumberOfRawAzimuths; ++rawIndex) {
// Don't let elevation exceed maximum for this azimuth.
int maxElevation = maxElevations[rawIndex];
- int actualElevation = min(elevation, maxElevation);
+ int actualElevation = std::min(elevation, maxElevation);
bool success = calculateKernelsForAzimuthElevation(rawIndex * AzimuthSpacing, actualElevation, sampleRate, subjectName, kernelListL->at(interpolatedIndex), kernelListR->at(interpolatedIndex));
if (!success)
« no previous file with comments | « Source/platform/audio/HRTFDatabase.cpp ('k') | Source/platform/audio/HRTFKernel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698