Index: Source/platform/geometry/FloatQuad.cpp |
diff --git a/Source/platform/geometry/FloatQuad.cpp b/Source/platform/geometry/FloatQuad.cpp |
index 5e9e9791880124d3c6b41a022edd0064b4ff4ed5..39b7b0e35fdabfbd39bf7adc4b2b92ca3903f379 100644 |
--- a/Source/platform/geometry/FloatQuad.cpp |
+++ b/Source/platform/geometry/FloatQuad.cpp |
@@ -34,18 +34,16 @@ |
#include <algorithm> |
#include <limits> |
-using namespace std; |
- |
namespace blink { |
static inline float min4(float a, float b, float c, float d) |
{ |
- return min(min(a, b), min(c, d)); |
+ return std::min(std::min(a, b), std::min(c, d)); |
} |
static inline float max4(float a, float b, float c, float d) |
{ |
- return max(max(a, b), max(c, d)); |
+ return std::max(std::max(a, b), std::max(c, d)); |
} |
inline float dot(const FloatSize& a, const FloatSize& b) |
@@ -94,7 +92,7 @@ FloatRect FloatQuad::boundingBox() const |
static inline bool withinEpsilon(float a, float b) |
{ |
- return fabs(a - b) < numeric_limits<float>::epsilon(); |
+ return fabs(a - b) < std::numeric_limits<float>::epsilon(); |
} |
bool FloatQuad::isRectilinear() const |