ASSERTION FAILED: listNode in WebCore::RenderListItem::updateListMarkerNumbers
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Aug 2014 16:15:26 +0000 (16:15 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Aug 2014 16:15:26 +0000 (16:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=134970

Patch by Renato Nagy <nagy.renato@stud.u-szeged.hu> on 2014-08-01
Reviewed by Zalan Bujtas.

Removed an unnecessary assert, because the null return value of enclosingList() is
handled properly after this assert.

* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::updateListMarkerNumbers):

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderListItem.cpp

index c0896fb2f5f98dfcfb8c89887b8a908a80314434..dde4a5ee12dfe7eff615d74416316f545437a1fe 100644 (file)
@@ -1,3 +1,16 @@
+2014-08-01  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
+
+        ASSERTION FAILED: listNode in WebCore::RenderListItem::updateListMarkerNumbers
+        https://bugs.webkit.org/show_bug.cgi?id=134970
+
+        Reviewed by Zalan Bujtas.
+
+        Removed an unnecessary assert, because the null return value of enclosingList() is
+        handled properly after this assert.
+
+        * rendering/RenderListItem.cpp:
+        (WebCore::RenderListItem::updateListMarkerNumbers):
+
 2014-08-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Replace DEPRECATED_DEFINE_STATIC_LOCAL with NeverDestroyed<T> in NavigatorContentUtils
index f9d844aa4d6519e33ef149f10c4cc64f758d9cd7..368ed9e2beeb1f88b5546b7fd6834be61e6ba27a 100644 (file)
@@ -497,7 +497,6 @@ void RenderListItem::updateListMarkerNumbers()
 {
     Element* listNode = enclosingList(this);
     // The list node can be the shadow root which has no renderer.
-    ASSERT(listNode);
     if (!listNode)
         return;