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

Unified Diff: Source/platform/transforms/TransformationMatrix.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/TransformationMatrix.cpp
diff --git a/Source/platform/transforms/TransformationMatrix.cpp b/Source/platform/transforms/TransformationMatrix.cpp
index 172d0bf4a96dd446b977526b8fdf537aee7eaa21..3d5f34e8c6404735af3119bfb6d7460b7eb8b540 100644
--- a/Source/platform/transforms/TransformationMatrix.cpp
+++ b/Source/platform/transforms/TransformationMatrix.cpp
@@ -44,7 +44,7 @@
using namespace std;
-namespace WebCore {
+namespace blink {
//
// Supporting Math Functions
@@ -1297,7 +1297,7 @@ bool TransformationMatrix::isInvertible() const
if (isIdentityOrTranslation())
return true;
- double det = WebCore::determinant4x4(m_matrix);
+ double det = blink::determinant4x4(m_matrix);
if (fabs(det) < SMALL_NUMBER)
return false;
@@ -1320,7 +1320,7 @@ TransformationMatrix TransformationMatrix::inverse() const
}
TransformationMatrix invMat;
- bool inverted = WebCore::inverse(m_matrix, invMat.m_matrix);
+ bool inverted = blink::inverse(m_matrix, invMat.m_matrix);
if (!inverted)
return TransformationMatrix();
@@ -1401,7 +1401,7 @@ bool TransformationMatrix::decompose(DecomposedType& decomp) const
decomp.scaleZ = 1;
}
- if (!WebCore::decompose(m_matrix, decomp))
+ if (!blink::decompose(m_matrix, decomp))
return false;
return true;
}
@@ -1521,7 +1521,7 @@ bool TransformationMatrix::isBackFaceVisible() const
// we can simply compute the m33() of the adjoint (adjugate) matrix, without computing
// the full adjoint.
- double determinant = WebCore::determinant4x4(m_matrix);
+ double determinant = blink::determinant4x4(m_matrix);
// If the matrix is not invertible, then we assume its backface is not visible.
if (fabs(determinant) < SMALL_NUMBER)
« no previous file with comments | « Source/platform/transforms/TransformationMatrix.h ('k') | Source/platform/transforms/TransformationMatrixTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698