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

Unified Diff: Source/platform/transforms/RotateTransformOperation.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
Index: Source/platform/transforms/RotateTransformOperation.cpp
diff --git a/Source/platform/transforms/RotateTransformOperation.cpp b/Source/platform/transforms/RotateTransformOperation.cpp
index 6f500cb15b651b60a64f1b0315f33616c41cfef3..e64cd7d1e0846a0244d9453d5837ae585b115951 100644
--- a/Source/platform/transforms/RotateTransformOperation.cpp
+++ b/Source/platform/transforms/RotateTransformOperation.cpp
@@ -29,7 +29,7 @@
using namespace std;
-namespace WebCore {
+namespace blink {
static const double angleEpsilon = 1e-4;
@@ -100,14 +100,14 @@ PassRefPtr<TransformOperation> RotateTransformOperation::blend(const TransformOp
return RotateTransformOperation::create(fromOp ? fromOp->m_x : m_x,
fromOp ? fromOp->m_y : m_y,
fromOp ? fromOp->m_z : m_z,
- WebCore::blend(fromAngle, m_angle, progress), m_type);
+ blink::blend(fromAngle, m_angle, progress), m_type);
}
double fromAngle;
double toAngle;
FloatPoint3D axis;
if (shareSameAxis(fromOp, this, &axis, &fromAngle, &toAngle))
- return RotateTransformOperation::create(axis.x(), axis.y(), axis.z(), WebCore::blend(fromAngle, toAngle, progress), m_type);
+ return RotateTransformOperation::create(axis.x(), axis.y(), axis.z(), blink::blend(fromAngle, toAngle, progress), m_type);
const RotateTransformOperation* toOp = this;
@@ -156,4 +156,4 @@ bool RotateTransformOperation::canBlendWith(const TransformOperation& other) con
return other.isSameType(*this);
}
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/platform/transforms/RotateTransformOperation.h ('k') | Source/platform/transforms/ScaleTransformOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698