Changeset 17726 in webkit


Ignore:
Timestamp:
Nov 11, 2006 5:10:33 AM (17 years ago)
Author:
gdennis
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/rendering/RenderText.cpp

    r17725 r17726  
    599599}
    600600
    601 inline bool isSpace(UChar c, RenderStyle* style)
     601inline bool isSpaceAccordingToStyle(UChar c, RenderStyle* style)
    602602{
    603603    return c == ' ' || (c == 0xa0 && style->nbspMode() == SPACE);
     
    671671        bool hasBreak = isBreakable(txt, i, len, nextBreakable, breakNBSP);
    672672        int j = i;
    673         while (c != '\n' && !isSpace(c, style()) && c != '\t' && c != SOFT_HYPHEN) {
     673        while (c != '\n' && !isSpaceAccordingToStyle(c, style()) && c != '\t' && c != SOFT_HYPHEN) {
    674674            j++;
    675675            if (j == len)
     
    686686            currMaxWidth += w;
    687687           
    688             bool isSpace = (j < len) && isSpace(c, style());
     688            bool isSpace = (j < len) && isSpaceAccordingToStyle(c, style());
    689689            bool isCollapsibleWhiteSpace = (j < len) && style()->isCollapsibleWhiteSpace(c);
    690690            if (j < len && style()->autoWrap())
Note: See TracChangeset for help on using the changeset viewer.