Index: Source/platform/transforms/RotateTransformOperation.cpp |
diff --git a/Source/platform/transforms/RotateTransformOperation.cpp b/Source/platform/transforms/RotateTransformOperation.cpp |
index e64cd7d1e0846a0244d9453d5837ae585b115951..8a49884e2d5f333b16a52857229654b5f88df90e 100644 |
--- a/Source/platform/transforms/RotateTransformOperation.cpp |
+++ b/Source/platform/transforms/RotateTransformOperation.cpp |
@@ -27,8 +27,6 @@ |
#include "wtf/MathExtras.h" |
#include <algorithm> |
-using namespace std; |
- |
namespace blink { |
static const double angleEpsilon = 1e-4; |
@@ -135,14 +133,14 @@ PassRefPtr<TransformOperation> RotateTransformOperation::blend(const TransformOp |
double x = -decomp.quaternionX; |
double y = -decomp.quaternionY; |
double z = -decomp.quaternionZ; |
- double length = sqrt(x * x + y * y + z * z); |
+ double length = std::sqrt(x * x + y * y + z * z); |
double angle = 0; |
if (length > 0.00001) { |
x /= length; |
y /= length; |
z /= length; |
- angle = rad2deg(acos(decomp.quaternionW) * 2); |
+ angle = rad2deg(std::acos(decomp.quaternionW) * 2); |
} else { |
x = 0; |
y = 0; |