[TexMap] Don't use RELEASE_ASSERT in TextureMapperLayer::computeTransformsRecursive()
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Feb 2016 08:34:43 +0000 (08:34 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Feb 2016 08:34:43 +0000 (08:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=153822

Reviewed by Carlos Garcia Campos.

* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::computeTransformsRecursive):
Use ASSERT to check that the m_children members are indeed children
of the current layer, RELEASE_ASSERT probably slipped in unnoticed
at some point.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp

index f9fd837..0180e9e 100644 (file)
@@ -1,5 +1,18 @@
 2016-02-03  Zan Dobersek  <zdobersek@igalia.com>
 
+        [TexMap] Don't use RELEASE_ASSERT in TextureMapperLayer::computeTransformsRecursive()
+        https://bugs.webkit.org/show_bug.cgi?id=153822
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/graphics/texmap/TextureMapperLayer.cpp:
+        (WebCore::TextureMapperLayer::computeTransformsRecursive):
+        Use ASSERT to check that the m_children members are indeed children
+        of the current layer, RELEASE_ASSERT probably slipped in unnoticed
+        at some point.
+
+2016-02-03  Zan Dobersek  <zdobersek@igalia.com>
+
         PlatformPathCairo: Lazily allocate the path surface
         https://bugs.webkit.org/show_bug.cgi?id=153821
 
index 71fd9d3..753673f 100644 (file)
@@ -65,7 +65,7 @@ void TextureMapperLayer::computeTransformsRecursive()
     if (m_state.replicaLayer)
         m_state.replicaLayer->computeTransformsRecursive();
     for (auto* child : m_children) {
-        RELEASE_ASSERT(child->m_parent == this);
+        ASSERT(child->m_parent == this);
         child->computeTransformsRecursive();
     }