Changeset 200642 in webkit


Ignore:
Timestamp:
May 10, 2016, 1:45:28 PM (9 years ago)
Author:
Csaba Osztrogonác
Message:

Fix the !ENABLE(SHADOW_DOM) && !ENABLE(DETAILS_ELEMENT) build
https://bugs.webkit.org/show_bug.cgi?id=157514

Reviewed by Ryosuke Niwa.

  • dom/Element.cpp:

(WebCore::Element::insertedInto):
(WebCore::Element::removedFrom):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r200640 r200642  
     12016-05-10  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix the !ENABLE(SHADOW_DOM) && !ENABLE(DETAILS_ELEMENT) build
     4        https://bugs.webkit.org/show_bug.cgi?id=157514
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        * dom/Element.cpp:
     9        (WebCore::Element::insertedInto):
     10        (WebCore::Element::removedFrom):
     11
    1122016-05-10  Csaba Osztrogonác  <ossy@webkit.org>
    213
  • trunk/Source/WebCore/dom/Element.cpp

    r200626 r200642  
    15121512#endif
    15131513
     1514#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
    15141515    if (parentNode() == &insertionPoint) {
    15151516        if (auto* shadowRoot = parentNode()->shadowRoot())
    15161517            shadowRoot->hostChildElementDidChange(*this);
    15171518    }
     1519#endif
    15181520
    15191521    if (!insertionPoint.isInTreeScope())
     
    15961598    }
    15971599
     1600#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
    15981601    if (!parentNode()) {
    15991602        if (auto* shadowRoot = insertionPoint.shadowRoot())
    16001603            shadowRoot->hostChildElementDidChange(*this);
    16011604    }
     1605#endif
    16021606
    16031607    ContainerNode::removedFrom(insertionPoint);
Note: See TracChangeset for help on using the changeset viewer.