Changeset 62144 in webkit


Ignore:
Timestamp:
Jun 29, 2010 1:08:13 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-06-29 Patrick Gansterer <paroga@paroga.com>

Reviewed by Dirk Schulze.

Buildfix for !ENABLE(SVG_FOREIGN_OBJECT) after r61667.
https://bugs.webkit.org/show_bug.cgi?id=41367

  • svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::isOutermostSVG): Add missing ENABLE(SVG_FOREIGN_OBJECT).
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62142 r62144  
     12010-06-29  Patrick Gansterer  <paroga@paroga.com>
     2
     3        Reviewed by Dirk Schulze.
     4
     5        Buildfix for !ENABLE(SVG_FOREIGN_OBJECT) after r61667.
     6        https://bugs.webkit.org/show_bug.cgi?id=41367
     7
     8        * svg/SVGSVGElement.cpp:
     9        (WebCore::SVGSVGElement::isOutermostSVG): Add missing ENABLE(SVG_FOREIGN_OBJECT).
     10
    1112010-06-29  Patrick Gansterer  <paroga@paroga.com>
    212
  • trunk/WebCore/svg/SVGSVGElement.cpp

    r62139 r62144  
    523523        return true;
    524524
     525#if ENABLE(SVG_FOREIGN_OBJECT)
    525526    // We act like an outermost SVG element, if we're a direct child of a <foreignObject> element.
    526527    if (parentNode()->hasTagName(SVGNames::foreignObjectTag))
    527528        return true;
     529#endif
    528530
    529531    // This is true whenever this is the outermost SVG, even if there are HTML elements outside it
Note: See TracChangeset for help on using the changeset viewer.