Changeset 224278 in webkit


Ignore:
Timestamp:
Nov 1, 2017 8:36:49 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Fix ContinuationChainNode::insertAfter assertion.
https://bugs.webkit.org/show_bug.cgi?id=179115

Patch by Emilio Cobos Álvarez <emilio> on 2017-11-01
Reviewed by Antti Koivisto.

The assertion was writing instead of reading next->previous.

Hopefully it's harmless because it was clobbered on the same line, but
it's worth asserting what it was intending to assert.

No new tests (no behaviour change).

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::ContinuationChainNode::insertAfter):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r224277 r224278  
     12017-11-01  Emilio Cobos Álvarez  <emilio@crisal.io>
     2
     3        Fix ContinuationChainNode::insertAfter assertion.
     4        https://bugs.webkit.org/show_bug.cgi?id=179115
     5
     6        Reviewed by Antti Koivisto.
     7
     8        The assertion was writing instead of reading next->previous.
     9
     10        Hopefully it's harmless because it was clobbered on the same line, but
     11        it's worth asserting what it was intending to assert.
     12
     13        No new tests (no behaviour change).
     14
     15        * rendering/RenderBoxModelObject.cpp:
     16        (WebCore::RenderBoxModelObject::ContinuationChainNode::insertAfter):
     17
    1182017-11-01  Fujii Hironori  <Hironori.Fujii@sony.com>
    219
  • trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp

    r224273 r224278  
    115115    ASSERT(!next);
    116116    if ((next = after.next)) {
    117         ASSERT(next->previous = &after);
     117        ASSERT(next->previous == &after);
    118118        next->previous = this;
    119119    }
Note: See TracChangeset for help on using the changeset viewer.