⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 157952 in webkit


Ignore:
Timestamp:
Oct 24, 2013, 1:46:50 PM (13 years ago)
Author:
Antti Koivisto
Message:

Try to fix build without CSS_SHAPES.

  • rendering/SimpleLineLayout.cpp:

(WebCore::SimpleLineLayout::canUseFor):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r157950 r157952  
     12013-10-24  Antti Koivisto  <antti@apple.com>
     2
     3        Try to fix build without CSS_SHAPES.
     4
     5        * rendering/SimpleLineLayout.cpp:
     6        (WebCore::SimpleLineLayout::canUseFor):
     7
    182013-10-24  Antti Koivisto  <antti@apple.com>
    29
  • trunk/Source/WebCore/rendering/SimpleLineLayout.cpp

    r157950 r157952  
    7676    // These tests only works during layout. Outside layout this function may give false positives.
    7777    if (flow.view().layoutState()) {
     78#if ENABLE(CSS_SHAPES)
    7879        if (flow.view().layoutState()->shapeInsideInfo())
    7980            return false;
     81#endif
    8082        if (flow.view().layoutState()->m_columnInfo)
    8183            return false;
    … …  
    117119    if (style.textShadow())
    118120        return false;
     121#if ENABLE(CSS_SHAPES)
    119122    if (style.resolvedShapeInside())
    120123        return true;
     124#endif
    121125    if (style.textOverflow() || (flow.isAnonymousBlock() && flow.parent()->style()->textOverflow()))
    122126        return false;
Note: See TracChangeset for help on using the changeset viewer.