Changeset 84226 in webkit


Ignore:
Timestamp:
Apr 19, 2011 12:24:34 AM (13 years ago)
Author:
dbates@webkit.org
Message:

2011-04-19 Daniel Bates <dbates@webkit.org>

Attempt to fix the Qt Linux Release Minimal build after changeset 84225
<http://trac.webkit.org/changeset/84225> (https://bugs.webkit.org/show_bug.cgi?id=52788).

  • dom/EventDispatcher.cpp: (WebCore::EventDispatcher::ensureEventAncestors): Add ENABLE(SVG) guards around call to Node::svgShadowHost() since this method is only defined when building with SVG enabled.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84225 r84226  
     12011-04-19  Daniel Bates  <dbates@webkit.org>
     2
     3        Attempt to fix the Qt Linux Release Minimal build after changeset 84225
     4        <http://trac.webkit.org/changeset/84225> (https://bugs.webkit.org/show_bug.cgi?id=52788).
     5
     6        * dom/EventDispatcher.cpp:
     7        (WebCore::EventDispatcher::ensureEventAncestors): Add ENABLE(SVG) guards around call
     8        to Node::svgShadowHost() since this method is only defined when building with SVG enabled.
     9
    1102011-04-18  Dominic Cooney  <dominicc@chromium.org>
    211
  • trunk/Source/WebCore/dom/EventDispatcher.cpp

    r84225 r84226  
    250250            if (behavior == StayInsideShadowDOM)
    251251                return;
     252#if ENABLE(SVG)
    252253            ancestor = isSVGShadowRoot ? ancestor->svgShadowHost() : ancestor->shadowHost();
     254#else
     255            ancestor = ancestor->shadowHost();
     256#endif
    253257            if (!shouldSkipNextAncestor)
    254258                target = ancestor;
Note: See TracChangeset for help on using the changeset viewer.