Unreviewed, rename TransformationMatrix::Identity to TransformationMatrix::identity
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 04:10:43 +0000 (04:10 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 04:10:43 +0000 (04:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=188204

Follow the coding style.

* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::transform const):
(WebCore::GraphicsLayer::childrenTransform const):
* platform/graphics/transforms/TransformationMatrix.cpp:
* platform/graphics/transforms/TransformationMatrix.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/GraphicsLayer.cpp
Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp
Source/WebCore/platform/graphics/transforms/TransformationMatrix.h

index f8cf4b1..470d603 100644 (file)
@@ -1,5 +1,18 @@
 2018-08-01  Yusuke Suzuki  <utatane.tea@gmail.com>
 
+        Unreviewed, rename TransformationMatrix::Identity to TransformationMatrix::identity
+        https://bugs.webkit.org/show_bug.cgi?id=188204
+
+        Follow the coding style.
+
+        * platform/graphics/GraphicsLayer.cpp:
+        (WebCore::GraphicsLayer::transform const):
+        (WebCore::GraphicsLayer::childrenTransform const):
+        * platform/graphics/transforms/TransformationMatrix.cpp:
+        * platform/graphics/transforms/TransformationMatrix.h:
+
+2018-08-01  Yusuke Suzuki  <utatane.tea@gmail.com>
+
         Add self.queueMicrotask(f) on DOMWindow
         https://bugs.webkit.org/show_bug.cgi?id=188212
 
index 22789f2..20be98b 100644 (file)
@@ -294,7 +294,7 @@ void GraphicsLayer::removeFromParent()
 
 const TransformationMatrix& GraphicsLayer::transform() const
 {
-    return m_transform ? *m_transform : TransformationMatrix::Identity;
+    return m_transform ? *m_transform : TransformationMatrix::identity;
 }
 
 void GraphicsLayer::setTransform(const TransformationMatrix& matrix)
@@ -307,7 +307,7 @@ void GraphicsLayer::setTransform(const TransformationMatrix& matrix)
 
 const TransformationMatrix& GraphicsLayer::childrenTransform() const
 {
-    return m_childrenTransform ? *m_childrenTransform : TransformationMatrix::Identity;
+    return m_childrenTransform ? *m_childrenTransform : TransformationMatrix::identity;
 }
 
 void GraphicsLayer::setChildrenTransform(const TransformationMatrix& matrix)
index 46cf367..7c24dc0 100644 (file)
@@ -70,7 +70,7 @@ typedef double Vector3[3];
 
 const double SMALL_NUMBER = 1.e-8;
 
-const TransformationMatrix TransformationMatrix::Identity { };
+const TransformationMatrix TransformationMatrix::identity { };
 
 // inverse(original_matrix, inverse_matrix)
 //
index 850bcfa..27b07f3 100644 (file)
@@ -118,7 +118,7 @@ public:
 
     WEBCORE_EXPORT TransformationMatrix(const AffineTransform&);
 
-    static const TransformationMatrix Identity;
+    static const TransformationMatrix identity;
 
     void setMatrix(double a, double b, double c, double d, double e, double f)
     {