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

Unified Diff: third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp

Issue 1625763002: Fix naming style of constants named in SHOUT_CASE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: caps-consts: unsigned Created 4 years, 11 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: third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
diff --git a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
index 915ed05606818fff617b2c235624bf4748606a24..cc4328fd4f1ee6e32624e14b5c23f6e0fdababc3 100644
--- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
+++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
@@ -78,7 +78,7 @@ namespace blink {
typedef double Vector4[4];
typedef double Vector3[3];
-const double SMALL_NUMBER = 1.e-8;
+const double SmallNumber = 1.e-8;
// inverse(original_matrix, inverse_matrix)
//
@@ -220,7 +220,7 @@ static bool inverse(const TransformationMatrix::Matrix4& matrix, TransformationM
// then the inverse matrix is not unique.
double det = determinant4x4(matrix);
- if (fabs(det) < SMALL_NUMBER)
+ if (fabs(det) < SmallNumber)
return false;
#if CPU(ARM64)
@@ -1449,7 +1449,7 @@ bool TransformationMatrix::isInvertible() const
double det = blink::determinant4x4(m_matrix);
- if (fabs(det) < SMALL_NUMBER)
+ if (fabs(det) < SmallNumber)
return false;
return true;
« no previous file with comments | « third_party/WebKit/Source/core/page/EventSource.h ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698