Changeset 224332 in webkit


Ignore:
Timestamp:
Nov 2, 2017 8:57:49 AM (6 years ago)
Author:
Antti Koivisto
Message:

Remove empty continuations in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers
https://bugs.webkit.org/show_bug.cgi?id=179014

Remove overly optimistic non-critical assertion that is hit on WK1 debug.

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::removeAndDestroyAllContinuations):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r224330 r224332  
     12017-11-02  Antti Koivisto  <antti@apple.com>
     2
     3        Remove empty continuations in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers
     4        https://bugs.webkit.org/show_bug.cgi?id=179014
     5
     6        Remove overly optimistic non-critical assertion that is hit on WK1 debug.
     7
     8        * rendering/RenderBoxModelObject.cpp:
     9        (WebCore::RenderBoxModelObject::removeAndDestroyAllContinuations):
     10
    1112017-11-02  Frederic Wang  <fwang@igalia.com>
    212
  • trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp

    r224327 r224332  
    25362536    ASSERT(continuationChainNodeMap().contains(this));
    25372537    auto& continuationChainNode = *continuationChainNodeMap().get(this);
    2538     while (continuationChainNode.next) {
    2539         ASSERT(!continuationChainNode.next->renderer->firstChild());
     2538    while (continuationChainNode.next)
    25402539        continuationChainNode.next->renderer->removeFromParentAndDestroy();
    2541     }
    25422540    removeFromContinuationChain();
    25432541}
Note: See TracChangeset for help on using the changeset viewer.