Changeset 175620 in webkit


Ignore:
Timestamp:
Nov 5, 2014 7:07:24 AM (9 years ago)
Author:
Antti Koivisto
Message:

REGRESSION(r175601): Assertion failures in SimpleLineLayout
https://bugs.webkit.org/show_bug.cgi?id=138422

Check for end.

  • rendering/SimpleLineLayout.cpp:

(WebCore::SimpleLineLayout::FlowContentIterator::isNewlineCharacter):
(WebCore::SimpleLineLayout::removeTrailingWhitespace):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r175617 r175620  
     12014-11-05  Antti Koivisto  <antti@apple.com>
     2
     3        REGRESSION(r175601): Assertion failures in SimpleLineLayout
     4        https://bugs.webkit.org/show_bug.cgi?id=138422
     5
     6        Check for end.
     7
     8        * rendering/SimpleLineLayout.cpp:
     9        (WebCore::SimpleLineLayout::FlowContentIterator::isNewlineCharacter):
     10        (WebCore::SimpleLineLayout::removeTrailingWhitespace):
     11
    1122014-11-05  Andreas Kling  <akling@apple.com>
    213
  • trunk/Source/WebCore/rendering/SimpleLineLayout.cpp

    r175617 r175620  
    475475    }
    476476
     477    if (contentIterator.isEndOfContent(lineState.position))
     478        return;
    477479    // If we skipped any whitespace and now the line end is a "preserved" newline, skip the newline too as we are wrapping the line here already.
    478480    if (lastPosition != lineState.position && style.preserveNewline && contentIterator.isNewlineCharacter(lineState.position))
Note: See TracChangeset for help on using the changeset viewer.